Dart Null Safety: The Ultimate Guide to Non-Nullable Types

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. https://codewithandrea.com/videos/dart-null-safety-ultimate-guide-non-nullable-types/

созданный 4y | 16 янв. 2021 г., 19:21:26


Войдите, чтобы добавить комментарий

Другие сообщения в этой группе

How to Configure the Updated Code Formatter in Dart 3.8

Dart 3.8 introduced an updated formatter with various configuration options. Learn what’s new and how to prepare your codebase. https://codewithandrea.com/articles/updated-formatter-dart-3-8/

21 мая 2025 г., 12:10:09 | Code with Andrea
Preserve Trailing Commas in Dart 3.8

Dart 3.8 introduces a new formatting option to preserve trailing commas, overriding the new formatting style introduced in Dart 3.7. https://codewithandrea.com/tips/preserve-trailing-commas-dart-3.8/

21 мая 2025 г., 12:10:08 | Code with Andrea
May 2025: Flutter 3.32, Dart 3.8, Material 3 Expressive, Local-First Apps with PowerSync

Also included: How Flutter works (video series), the definitive guide to Navigator 2.0, and the latest from Code with Andrea. https://codewithandrea.com/newsletter/may-2025/

21 мая 2025 г., 12:10:08 | Code with Andrea
Hot Reload on Flutter web (3.32)

To enable this, switch to Flutter 3.32 and run your app with --web-experimental-hot-reload https://codewithandrea.com/tips/hot-reload-flutter-web/

21 мая 2025 г., 09:50:04 | Code with Andrea
Null-aware elements in Dart 3.8

Null-aware elements allow you to add nullable elements to a collection with a single character (?). https://codewithandrea.com/tips/null-aware-elements-dart-3.8/

21 мая 2025 г., 09:50:03 | Code with Andrea
GoRouter Delegate Listener for Screen Tracking

If your app uses GoRouter with shell routes, tracking screen views reliably requires some workarounds. Here's how to make it work. https://codewithandrea.com/tips/go-router-delegate-listener/

8 мая 2025 г., 15:50:03 | Code with Andrea
Button Styles in Material 3

Material 3 supports 5 types of buttons: elevated, filled, filled tonal, outlined, and text. Here's how to use them in Flutter. https://codewithandrea.com/tips/button-styles-material3/

7 мая 2025 г., 11:50:03 | Code with Andrea