Flutter 1 Flashcards
(18 cards)
advantages of flutter
- flutter have a very large collection of liberties and software packages (dart have pub.dav) fairebase , http request, animations, state management
- flutter need less testing
3.fast dev and simple structure - high customization and extendibility
- full control of widget and layout
6.hot reload
What is flutter?
flutter is a google sdk for crafting fast user experiences for mobile and web from a single code base
flutter work with existing code , and is free and open source
everything in flutter is a widget and flutter it self is widget
what is widgets?
are basically user interface componenets used to create the user interface of the app
what help us the concept of the widget in flutter?
this composability help us create use interface of any complexity
what is Material Design?
material design is the desing system that google create and follow
Flutter’s Material library ?
is a library that gives us access to many ready-made widgets that follow the material design made with google
statelesswidget ?
it mean it not sotre any data or change it state over time
build() ?
It returns ‘materialApp’ that act like the main container of your whole app :
title , them , home.
scaffold
give you basic layout : appBar , body .
widget categories?
1.platform specific widget
2. state mantenance widget
3. platform indepedent /basic widget
4.layout widget
platform specific widget ?
- materiel widget they are follow google material design
- cupertino widgets follow appele ios design
they give native look for android and ios
state mantenance widget ?
they can change over time like: StatefulWidget
Widgets that manage and respond to data changes
platfor-independent
they are used in all the platforms no matter what is the
layout widget
It control the other widget how they layout: row, column, stack, and center..
They organize and arrange other widgets
They are separated to two single child widget and multichild widget
single child layout widget?
Container
Center
Align
Expanded
Padding
SizedBox
multi child layout widget?
row
clumn
listview
gridview
stack
table
flow
elevated button
You want a clickable button with a default style
You need a regular button
GestureDetector
You want to make any widget respond to gestures
You need more control (tap images, cards, custom shapes)