Dart Null Safety: The Ultimate Guide to Non-Nullable Types
Автор: Andrea Bizzotto
Загружено: 2020-06-29
Просмотров: 18980
Written tutorial here: 👇👇
https://codewithandrea.com/videos/202...
A complete tour of Null Safety & non-nullable types, the syntax changes they introduce in Dart 2.9, and how to use them in practice.
HIGHLIGHTS
00:00 - Intro
01:23 - Null References: Some History
01:53 - Dart: Sound Type System
03:19 - Null Safety: Intro & Non-Nullable variables
03:53 - Null Safety: Advantages
05:00 - Nullable Variables
06:43 - The Assertion Operator
08:17 - Flow Analysis: Null Checks & Promotion
10:25 - Flow Analysis: Definite Assignment
11:12 - Using non-nullable variables with classes
11:33 - Non-nullable named and positional arguments
13:47 - Null-aware cascade operator
14:37 - Null-aware subscript operator
14:53 - The late keyword
17:01 - Static and global variables
17:29 - Conclusion
Join my FREE email course to become a Flutter expert with the best resources, at your own pace: https://codewithandrea.com/newsletter/
Want more? Check out all my Flutter courses: 👇👇
https://codewithandrea.com/courses/
Happy coding!
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: