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/

Létrehozva 13h | 2025. máj. 21. 9:50:03


Jelentkezéshez jelentkezzen be

EGYÉB POSTS Ebben a csoportban

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/

2025. máj. 21. 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/

2025. máj. 21. 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/

2025. máj. 21. 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/

2025. máj. 21. 9:50:04 | 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/

2025. máj. 8. 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/

2025. máj. 7. 11:50:03 | Code with Andrea
Test your UI with ThemeData.platform

By overriding ThemeData.platform inside MaterialApp, you can quickly test all your adaptive widgets and any conditional code that checks the platform. https://codewithandrea.com/tips/themedata-platfor

2025. máj. 6. 12:40:03 | Code with Andrea