Why Use Flutter ?

Why Use Flutter ?

Why Use Flutter ?

Flutter is a mobile App SDK by Google. Flutter single code base android or iOS application create. No need to multi developer for android and iOS application create so that maintains are easily. It is modern language.

Flutter separated from other language :

Flutter, React Native, Xamarin is a cross platform language. React Native and Xamarin does not use native components. For example WebView. Instead, Flutter has its own rendering engine written is C/C++, Dart code flutter app can be compiled into native code on each platform.

HOT RELOAD :

Hot reload main feature is quickly and easily build UI. Hot reload works update code files sent into running Dart Virtual Machine (VM). It is automatically rebuild your widgets. Updated code directly show so that reason no wested memory.

Entry point :

main.dart file.

Material Components widgets and own customization :

Everything in Flutter is a Widget. Flutter provide large number of widgets with morden. For example ListView, Stack, Container, Material, Gesture, GridView, Text etc. You can create own widget or customization so that code writting less in flutter.

Widget Type :

Each widget in flutter is either a Stateful Widget or a Stateless Widget.

Stateless Widget :

No state manage.
StateLessWidget and the each and every widget has to override the function called Widget build(BuildContet context) which returns one or more widgets.
Stateless Widget are immutable once drawn.
For example, Button, Text, ImageView which subclass StatelessWidget.
A single Stateless Widget can build in many different BuildContext.


StateLessWidget and the each and every widget has to override the function called Widget build(BuildContet context) which returns one or more widgets.
Stateless Widget are immutable once drawn.
For example, Button, Text, ImageView which subclass StatelessWidget.
A single Stateless Widget can build in many different BuildContext.

Stateful Widgets :


We need to extend our class from StatefulWidget.
Which returns the instance of class which is, extends State<>. It is this class which overrides the build(…) function.
Stateful Widgets are mutable and can be drawn multiple times within its lifetime.
Redraw itself.
setState(…) is called, it will automatically invoke the build(…).
A Stateful Widget creates a new state object for each BuildContext.
Checkbox, Radio, Slider, InkWell, Form, and TextField which is subclass of StatefulWidget.

Fast Development

Flutter provide Hot reload functionality that so fast app develop.