By registering a ValueNotifier listener, you can perform side effects such as updating controllers, showing dialogs, and performing navigation. https://codewithandrea.com/tips/side-effects-value-notifier/
Accedi per aggiungere un commento
Altri post in questo gruppo

A real-world case study about ephemeral vs application state, navigation, scroll controllers, and how refactoring can help you ship new features smoothly. https://codewithandrea.com/articles/why-refac

Pub.dev has a new chart that lets you see package download counts by version (major, minor, patch). Here's where to find it. https://codewithandrea.com/tips/download-counts-by-version/

Also included: Flutter rendering changes, discontinued official packages, Dart macros update, new Flutter UI challenges from Code with Andrea. https://codewithandrea.com/newsletter/february-2025/

Since Dart 3.7, the _ character is a wildcard variable and you can use it more than once in your code, without causing name collisions. https://codewithandrea.com/tips/wildcard-variables-dart-3-7/

Dart 3.7 introduces a new formatter that automatically adds or removes trailing commas, based on the max line length. https://codewithandrea.com/tips/new-formatting-style-dart-3-7/

Dart 3.7 introduces a new formatter that changes how your Flutter code is formatted. Learn what’s new and how to prepare your codebase. https://codewithandrea.com/articles/new-formatting-style-dart-3-

Since Dart 3.7, the _ character is a wildcard variable and you can use it more than once in your code, without causing name collisions. https://codewithandrea.com/tips/wildcard-variables-dart-3.7/