Learn everything about Flutter Null Safety & Dart Null Safety in 5 Minutes since Flutter 2.0 became Null Safe.
Source Code | https://github.com/JohannesMilke/null_safety_ii_example
TIMELINE
- 0:00 Introduction Null Safety
- 0:43 Activate Null Safety
- 1:04 Type - Not Nullable Type
- 1:27 Type? - Nullable Type
- 1:41 Null Checks
- 2:24 Convert Type To Type?
- 2:44 Convert Type? To Type
- 3:03 Avoid Conversion - Type? To Type
- 3:18 Default Value - Type? To Type
- 3:35 Force Conversion With ! - Type? To Type
- 4:09 Late Keyword
#flutter #dart