0% found this document useful (0 votes)
20 views12 pages

Basic Flutter Qs To Be Known

Flutter is an open source framework by Google for building beautiful, natively compiled, multi-platform apps from a single codebase using Dart. Dart is a compiled language developed by Google used to build web, mobile, and server apps. Flutter apps can be developed quickly, are native-looking, and cross-platform. StatelessWidgets are immutable while StatefulWidgets can change state dynamically. BuildContext provides widget location reference. setState handles local state while libraries like Provider handle app-wide state. Navigation uses Navigator, routes, or PageRoute. Keys uniquely identify widgets. MediaQuery and LayoutBuilder adapt UI to screen sizes. The pubspec.yaml file lists dependencies and resources used by pub.

Uploaded by

lava bhai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views12 pages

Basic Flutter Qs To Be Known

Flutter is an open source framework by Google for building beautiful, natively compiled, multi-platform apps from a single codebase using Dart. Dart is a compiled language developed by Google used to build web, mobile, and server apps. Flutter apps can be developed quickly, are native-looking, and cross-platform. StatelessWidgets are immutable while StatefulWidgets can change state dynamically. BuildContext provides widget location reference. setState handles local state while libraries like Provider handle app-wide state. Navigation uses Navigator, routes, or PageRoute. Keys uniquely identify widgets. MediaQuery and LayoutBuilder adapt UI to screen sizes. The pubspec.yaml file lists dependencies and resources used by pub.

Uploaded by

lava bhai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Basic Flutter

questions to be
known.

>>>
What is Flutter?
Flutter is an open source framework by
Google for building beautiful, natively
compiled, multi-platform applications from
a single codebase. Flutter is based on the
Dart programming language and uses a
declarative programming approach.

>>>
What is Dart?
Dart is an open-source general-purpose
programming language developed by
Google. It is used to build we, mobile,
and server applications. Dart is a
compiled language, which means that it
is converted into machine code before
it is executed. This makes Dart apps fast
and efficient.

>>>
What are the advantages of
using Flutter?
Fast development : Flutter apps can
be developed quickly and easily.
Native performance : Flutter apps
are native-looking and perform as
well as native apps.
Cross-platform : Flutter apps can be
built for both iOS and Android from
a single codebase.

>>>
Difference between
StatelessWidget and
StatefulWidget?
StatelessWidget is immutable and
doesn't hold state, while
StatefulWidget can change its state
and is used when UI needs to change
dynamically.

>>>
What is the "BuildContext"?
BuildContext is a reference to a
widget's location in the widget tree and
is used for widget creation, navigation,
and accessing resources.

>>>
"setState" vs state
management libraries like
"Provider" or "Bloc"
setState is used for local state
management within a widget, while
libraries like "Provider" or "Bloc"
handle app-wide state and are more
scalable.

>>>
How to handle
navigation between
screens?
Navigation can be done using
Navigator widget, PageRoute, or
named routes defined in MaterialApp.

>>>
What are keys in
Flutter?
Keys are used to uniquely identify
widgets and optimize the widget tree,
especially in cases of widget updates.

>>>
How to handle different
screen sizes?
Flutter provides responsive design
techniques like MediaQuery and
LayoutBuilder to adapt UI to different
screen sizes and orientations.

>>>
What is a
"pubspec.yaml" file?
The "punspec.yaml" file is a
configuration file in Flutter that lists
the project's dependencies, assets,
and other settings. It is used by the
Dart package manager (pub) to manage
the app's dependencies and resources.

>>>
Any more
questions to be
added along
with this ?

--------COMMENT BELOW--------

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy