The dart pub unpack command

As of Flutter 3.24, a new "pub unpack" command is available. You can use it to download a package locally and easily explore its source code. https://codewithandrea.com/tips/dart-pub-unpack-command/

Creado 10mo | 7 ago 2024, 11:40:03


Inicia sesión para agregar comentarios

Otros mensajes en este grupo.

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/

21 may 2025, 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/

21 may 2025, 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/

21 may 2025, 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/

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

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

8 may 2025, 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/

7 may 2025, 11:50:03 | Code with Andrea