Flutter 1 Flashcards

(18 cards)

1
Q

advantages of flutter

A
  1. flutter have a very large collection of liberties and software packages (dart have pub.dav) fairebase , http request, animations, state management
  2. flutter need less testing
    3.fast dev and simple structure
  3. high customization and extendibility
  4. full control of widget and layout
    6.hot reload
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is flutter?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is widgets?

A

are basically user interface componenets used to create the user interface of the app

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what help us the concept of the widget in flutter?

A

this composability help us create use interface of any complexity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is Material Design?

A

material design is the desing system that google create and follow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Flutter’s Material library ?

A

is a library that gives us access to many ready-made widgets that follow the material design made with google

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

statelesswidget ?

A

it mean it not sotre any data or change it state over time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

build() ?

A

It returns ‘materialApp’ that act like the main container of your whole app :
title , them , home.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

scaffold

A

give you basic layout : appBar , body .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

widget categories?

A

1.platform specific widget
2. state mantenance widget
3. platform indepedent /basic widget
4.layout widget

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

platform specific widget ?

A
  1. materiel widget they are follow google material design
  2. cupertino widgets follow appele ios design
    they give native look for android and ios
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

state mantenance widget ?

A

they can change over time like: StatefulWidget
Widgets that manage and respond to data changes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

platfor-independent

A

they are used in all the platforms no matter what is the

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

layout widget

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

single child layout widget?

A

Container
Center
Align
Expanded
Padding
SizedBox

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

multi child layout widget?

A

row
clumn
listview
gridview
stack
table
flow

17
Q

elevated button

A

You want a clickable button with a default style
You need a regular button

18
Q

GestureDetector

A

You want to make any widget respond to gestures
You need more control (tap images, cards, custom shapes)