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/

Creato 1mo | 8 gen 2025, 13:50:05


Accedi per aggiungere un commento

Altri post in questo gruppo

There's a New Formatting Style in Dart 3.7 (Here's What It Means for You)

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-

13 feb 2025, 14:40:02 | Code with Andrea
Wildcard Variables in Dart 3.7

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/

13 feb 2025, 09:50:06 | Code with Andrea
Hotkeys with CallbackShortcuts

The CallbackShortcuts widget makes it easy to add keyboard shortcuts to your Flutter app. Here's how to use it. https://codewithandrea.com/tips/hotkeys-callback-shortcuts/

11 feb 2025, 16:20:04 | Code with Andrea
Responsive Split View in Flutter

Here's how to create a responsive split-view widget that works on mobile, desktop and web. https://codewithandrea.com/tips/responsive-split-view-flutter/

10 feb 2025, 17:10:06 | Code with Andrea
GitHub Self-Hosted Runners

If you're using GitHub Actions for your CI/CD needs, you can setup a self-hosted runner to cut your build times and save money. https://codewithandrea.com/tips/github-self-hosted-runners/

6 feb 2025, 11:10:08 | Code with Andrea
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/

24 gen 2025, 10:10:04 | Code with Andrea
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-2

23 gen 2025, 13:20:03 | Code with Andrea