8. Flutter is the next step
in App development
Speed and performance
Fast , smooth performance
Flexibility
Customize anything
Native look and feel
Familiarity , ease of use
Rapid Development
Easy to learn , predictable
25. Flutter
- A single codebasefor
Android andiOS
- Rapid development cycles
- Great tooling
- Compiles to NativeCode
- No reliance on OEMwidgets
- No bridge needed
26.
27.
28.
29. Local layouts: Every Widget defines it’s own layout. No need to tell the parent
that it’s children are supposed tobe centered.
Flutter is a new project to help developers build high-performance, modern , mobile apps for iOS and Android from a single codebase.
Skia (a 2D rendering engine) Skia is the same graphics engine that Android uses. This one is built directly from source - compiled whenever you build Flutter
The text engine is from Blink, the rendering engine from Chromium.Layout for text is terribly hard - think about right to left, displaying dates and more.Every layer of the Framework builds upon the layer below it. For instance, the Material and Cupertino layers compose basic widgets from the widgets layer, which itself orchestrates objects from the rendering layer.This also allows to customize the framework as you please. This part of the beauty of Dart’s tree shaking mechanism (eliminates dead code).
Dart is compiled using the standard Android and iOS toolchains for the specific mobile platform where your app needs to run.
You get all the benefits of the Dart language, including familiar and terse syntax, first-class functions, async/await, rich standard libraries, and more.
Flutter comes with it’s own widgets and renderer
No support library needed. Not depended on OEM updates.
Thanks to composition, we can only redraw what changed
The beauty of hot reload is, that even after fixing an error, state is still maintained - allowing to iterate and develop far quicker.
flutter doctor : Checks your environment and displays a report to the terminal window
flutter upgrade : Updates both the Flutter SDK and your packages
Important: If an Allow USB debugging dialog appears on the Android phone connected to the codelab machine, enable the Always allow from this computer option and click OK.
To check connected devices : $ flutter devices
Analyses your code and help you find possible mistakes : $ flutter analyse
To run tests : $ flutter test
Automatically formats your code according to the Flutter-style : $ flutter format
Add Image asset add asset section in pubsec.yaml
Dependency: pubsec.yaml