What is flutter?
Flutter is a free and open-source
mobile UI framework created by
Google and released in May 2017.
Flutter is Google's open-source
technology for creating mobile,
desktop, and web apps with a single
codebase.
What kinds of apps can I build with Flutter?
Flutter is designed to support mobile apps
that run on both Android and iOS, as well
as interactive apps that you want to run on
your web pages or on the desktop.
You can also create pixel-perfect
experiences that match the Android and
iOS design languages with Flutter.
Dart
Dart is a client-optimized language
for developing fast apps on any platform.
Flutter uses Dart as Dart allows Flutter to
avoid the need for a separate declarative
layout language like JSX and XML.
What language is Flutter written
in?
Dart is an open-source general-purpose
programming language developed by
Google.
Hot Reload
A hot reload feature is used to quickly reload the
changes code on your running app. With this feature,
you can quickly and easily experiment, change UIs,
add features, and more fix bugs on your application.
Hot Restart
Hot restart is much different than hot
reload. In Hot restart it destroys the
preserves State value and set them to
their default.
Stateless Widget
The widgets whose state cannot be altered once they are
built.
These widgets are immutable once they are built i.e any
amount of change in the variables, icons, buttons, or
retrieving data cannot change the state of the app.
Icon, Icon Button and Text are examples of stateless
widgets.
Stateful Widget
A widget that has a mutable state.
A stateful widget is dynamic as it can
change its appearance in response to events
triggered by user interactions or when it
receives data.
Checkbox, Radio, InkWell, Form,
and TextField are examples of stateful
widgets.