Requirements
To follow this course, it is required to know following โฆ
โข
Setup
Flutter Widget Tree
ThemeData
Statless vs Stateful
Text
Styling
Widgets
Actions
pub.dev Library
Tips
โข
It is recommended to give INTERNET permission when giving permission on Android.
โข
User must use Future class, async, and await when handling permissions.
โข
Need to use async to recieve data from the dialog
โข
Can access context anywhere in stateful widget
โข
Treat dialog as a page i.e. use Navigator.of(context).pop(variable); to recieve the data
โข
async gives Future while async* gives Stream link
โฆ
FutureBuilder and StreamBuilder both stops when error occurs and changes the snapshot.data to null while changing the connection state to done
โข
In a case whene we have to run flutter related code before the runapp, we have to add WidgetsFlutterBinding.ensureInitialized(); right under the void main() .
โข
When user wants to stretch height inside the container but causing error, try to wrap the widget with IntrinsicHeight with row/column using stretch
โข
When you need keyboard on iOS simulator, press CMD + Shift + K
โข
When recieving data from pop be aware that the result can be null (e.g. forced return)
QnA
What is Flutter?
Flutter vs React Native
Why





























