The debugFillProperties Method

If you add a debugFillProperties() method to your custom widget classes, all your custom widget properties will show in the DevTools. https://codewithandrea.com/tips/debug-fill-properties/

January 2025: Flutter vs React Native, Hard Truths About AI, Pub Workspaces, Less-Known Widgets

Also included: GoRouter in maintenance mode, Dart Serialization Proposal, localizing an app into 55 languages, Cupertino and Material Updates, and more. https://codewithandrea.com/newsletter/january-2025/

Uploading the Source Maps to Sentry

If you enable code obfuscation in your Flutter release builds, the stack traces will be unreadable in the Sentry crash reports. Here's how to fix it. https://codewithandrea.com/tips/upload-source-maps-sentry/

SSH Access on Codemagic Builds

If your Codemagic builds are failing, you can enable SSH access and login to the build runner to diagnose the issue. https://codewithandrea.com/tips/ssh-access-codemagic/

How to Release Your Flutter App on the Google Play Store

A reference guide for releasing your Flutter app on the Play Store, including app content, store listing, Android project settings, and code signing. https://codewithandrea.com/articles/how-to-release-flutter-google-play-store/

Move Declaration to File (VSCode assist)

With VSCode, you can easily move your Dart classes and functions to a different file (this is very useful when refactoring). https://codewithandrea.com/tips/move-to-file-vscode-assist/

Using Stack and FractionallySizedBox

Here's how to overlay multiple widgets inside a Stack and constrain their size and position with Positioned and FractionallySizedBox. https://codewithandrea.com/tips/stack-fractionally-sized-box/

December 2024: Flutter 3.27 Release, Architecture Case Study, Dart Microbenchmarks, and Union Types

Also included: Dart 3.6, Flutter AI Toolkit, Flutter in Production livestream, and the latest from Code with Andrea. https://codewithandrea.com/newsletter/december-2024/

Digits Separators in Dart 3.6

Since Dart 3.6 (Flutter 3.27), you can use _ as a digits separator. This works with integers and floats, as well as custom formats (hex, scientific). https://codewithandrea.com/tips/digits-separators-dart-3-6/

Color API Deprecations in Flutter 3.27

To support the latest wide gamut color spaces, Flutter 3.27 has deprecated some properties and methods in the Color class. https://codewithandrea.com/tips/color-deprecations-flutter-3-27/


Members



Search