flutterengineer.bsky.social
@flutterengineer.bsky.social
Using Barrel files in #Flutter & #Dart projects can hurt analyzer performance as projects grow. @mraleph highlighted this issue: github.com/dart-lang/sd..., but it’s low priority for the Dart team.

How do you manage imports in large projects? Any open-source examples to share?
investigate tooling scalability in the presence of barrel files · Issue #50369 · dart-lang/sdk
Barrel files are files which repackage multiple libraries into a single library by exporting them. https://github.com/flutter/flutter/blob/master/packages/flutter/lib/material.dart is a good exampl...
github.com
November 28, 2024 at 12:42 PM
Hi 🙌
November 28, 2024 at 12:40 PM