Fixing Build Issues - Nuclear Option

If you have a Flutter project that no longer builds on a specific platform, you can delete the whole folder and generate it again. https://codewithandrea.com/tips/fixing-build-issues-nuclear-option/

Created 7mo | Oct 16, 2024, 8:10:03 AM


Login to add comment

Other posts in this group

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/

May 21, 2025, 12:10:09 PM | 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/

May 21, 2025, 12:10:08 PM | 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/

May 21, 2025, 12:10:08 PM | 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/

May 21, 2025, 9:50:04 AM | 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/

May 21, 2025, 9:50:03 AM | 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/

May 8, 2025, 3:50:03 PM | 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/

May 7, 2025, 11:50:03 AM | Code with Andrea