foxanna/barrel_files

Generate barrel files for Dart and Flutter packages with build_runner based on code annotations

33
/ 100
Emerging

When building Dart or Flutter packages, you often want to make some code elements (like classes or functions) available to other parts of your package while hiding internal details. This project helps you automatically create a central 'barrel file' that exports only the explicitly marked public elements. It helps package developers maintain clear boundaries and prevent other developers from accidentally using private code.

No commits in the last 6 months.

Use this if you are a Dart or Flutter package developer who wants to clearly define and automatically manage which code elements in your package are public-facing.

Not ideal if you need to generate multiple barrel files for a single package or if your project doesn't use the build_runner code generation tool.

Dart-development Flutter-development package-management code-structuring API-design
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 6 / 25
Maturity 16 / 25
Community 9 / 25

How are scores calculated?

Stars

18

Forks

2

Language

Dart

License

MIT

Last pushed

Aug 23, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/foxanna/barrel_files"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.