flutter-intro
What is Flutter
One set of code (lib
), multi platforms.
android, windows, linux, ios, etc.
- It’s for client apps
- Platform regardless
- Easy to hand on, easy to develop
dart=js/cpp+java: code taste + dart vm
Basic code format
tldr
- Empty safety:
type?
means var is nullable
This will trigger empty check, avoid npe
- late init
Just like Kotlin
- Async
Basic layouts
- Widget
- Text
- Warp
- Row-Column
- Container
Basic scaffolds
- AppBar
- Action
- TItle
- TabBar
- Body
- BottomBar
Network
Mainly using Dio
flutter-intro