What is Flutter?
Flutter is an open-source UI software development kit created by Google.
It is used to develop applications for Android, iOS, Windows, Mac, Linux and
the web.
Flutter uses Dart language.
100+ contributions from the open source community.
So what isFlutter ?
Flutter uses hybrid approach.
Flutter is Google’s UI toolkit for building beautiful, natively compiled
applications for mobile, web, and desktop from a single codebase.
10.
Who is Flutterfor?
Designers converge on a brand-driven experience on Android and iOS.
Prototypers enjoy a high-fidelity and fast way to build working prototypes.
Developers benefit from fantastic developer tools, an easy-to-use
language, a rich set of widgets and great IDE support. Flutter frees up
valuable time for working on features and delightful experiences.
HOT RELOAD
Injecting updatedsource code files into the running Dart
VM
Stateful
App state is retained after a reload.
Quickly iterate on a screen deeply nested in your app
17.
What makes Flutterunique?
Compiles to native code (ARM Binary Code)
No reliance on OEM widgets
No bridge needed
Structural Repainting
Goodbye, global layoutsystem
new Center(
child: new Text('Centered Text', style: textStyle),
)
Local layouts: Every Widget defines it’s own layout. No need to tell the parent
that it’s children are supposed to be centered.
21.
What are Widgetsin Flutter?
Everything in flutter consist of Widgets including but not limited to,
Visible Screen
Text
Button
Material Design
Application Bar
As well as invisible container
Layout
Stateful Widget vs.Stateless Widget
A single StatelessWidget can build
in many different BuildeContexts.
A StatefulWidget creates a new
State object for each BuildContext
24.
Stateless Widget
We createa Stateless widget by extending our class from StatelessWidget and
a bare minimum implementation shall look like
25.
Stateless Widget areimmutable once
drawn
The build(...) function of the StateLessWidget is called only ONCE and no
amount of changes in any Variable(s), Value(s) or Event(s) can call it again.
To redraw the StatelessWidget, we need to create a new instance of the
Widget.