Ever needed to update a value if a given key already exists, or set it if it doesn't? Here's how to use the Map.update() method to solve this. https://codewithandrea.com/tips/dart-map-update-method/
Login to add comment
Other posts in this group

Static release toggles let you release unfinished code without activating it in production. Here's how to use --dart-define to manage them. https://codewithandrea.com/tips/release-toggles-dart-define/

When reading variables from .env files, you can use int.fromEnvironment and bool.fromEnvironment to read integers and booleans. https://codewithandrea.com/tips/int-bool-from-environment/

Also included: Lesser-known Dart and Flutter functionalities, latest from Code with Andrea, and some thoughts on vibe coding with AI. https://codewithandrea.com/newsletter/march-2025/

To enable this, switch to the latest Flutter beta (3.31) and run your app with --web-experimental-hot-reload https://codewithandrea.com/tips/hot-reload-flutter-web-beta/

Instead of taking screenshots manually for each device & language, you can automate it with Maestro! Here's how. https://codewithandrea.com/tips/uploading-screenshots-fastlane/

Instead of taking screenshots manually for each device & language, you can automate it with Maestro! Here's how. https://codewithandrea.com/tips/semantics-identifiers-ui-testing/

Instead of taking screenshots manually for each device & language, you can automate it with Maestro! Here's how. https://codewithandrea.com/tips/automated-screenshot-generation-maestro/