Glimpse of android developers on flutter
if you’re a android Developer and want to try something new i.e looking forward to build mobile applications with Flutter then you are absolutely on the right path. While building apps with Flutter your android Proficiency is highly valuable because flutter absolutely gambles on the mobile operating system for infinite configurations.
Flutter is absolutely a very unique and a fine approach to frame UI’s for mobile, but at the same time it needs some plugins to connect with Android and iOS for non UI tasks.
So now lets a have look at the topics those are most relevant to any developers needs to build applications using Flutter.
- Views: In Flutter unlike views, we have a widgets. Widgets do not map exactly to the view but to the much extent we can use this terms as a way we declare and construct UI. Flutter’s widgets are lightweight, in part due to their immutability. The
Flutter framework contains two sets of widgets which conform to specific design
- Intents: As we all know, In android the intents use cases are mainly divided into two main categories i.e navigating between Activity and Communicating with components. Flutter on the other side, do not directly have the concepts corresponding to activities and fragments rather here we handle between screens using a navigator and route s, everything within the same activity.
- Project Structure and Resources: While in android, resources and assets are distinct items and are kept in the res/drawable folder but flutter has only assets and all the items are kept in assets folder. Flutter follows a simple density-based format. Assets are 0x, 2.0x, 3.0x, or other multiplier. Flutter do not have dps but there are logical pixels, which are as same as device-independent pixels.
- Activities and Fragments: While in Android, Activity represents a single enfolded thing the user can do.
A Fragment represents a behavior of user interface. Fragments extensible your code, compose refined user interfaces for larger screens, and help range your application UI.
In Flutter, both of these major concepts fall under the category of Widgets.
Some more categories alike shall be discussed in the coming articles and would be carried forward briefly.