a bridge, Flutter uses Dart language which is compiled AOT into native code for multiple platforms. Therefore Flutter communicates with the platform without going through a bridge that does a context switch.
in Flutter is a widget. - The previous diagram shows how widgets are nested in the root widget (The yellow color). - The text widget in the green lane is a Stateless widget because it does not change, however the radio buttons (true/false) is a Stateful Widget as it is dynamic.
not change. • Examples - Text, Icon, IconButtons Stateful widgets • Dynamic - changes as you progress on the UI • Examples - checkbox, Radio, Slider, Inkwell,Form and TextField
to arrange widgets horizontally 2. Column - Column widget to arrange widgets vertically. 3. ListView - ListView, a column-like widget, automatically provides scrolling when its content is too long for its render box. 4. Stack - Use Stack to arrange widgets on top of a base widget—often an image. The widgets can completely or partially overlap the base widget. 5. GridView - GridView provides two prefabricated lists, or you can build your own custom grid. When a GridView detects that its contents are too long to fit the render box, it automatically scrolls.
hot-reload/hot-restart • AOT compilation to native machine code like Android and iOS. • Easy to create smooth animations and transitions. • Dart allows Flutter to avoid the need for a separate declarative layout language like JSX or XML, or separate visual interface builders, because Dart’s declarative, programmatic layout is easy to read and visualize. • Easy to learn