foxanna/barrel_files
Generate barrel files for Dart and Flutter packages with build_runner based on code annotations
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.
Stars
18
Forks
2
Language
Dart
License
MIT
Category
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.
Higher-rated alternatives
inducer/cgen
C/C++ source generation from an AST
vil02/puzzle_generator
Generates python code representing a puzzle
westandskif/convtools
convtools is a specialized Python library for dynamic, declarative data transformations with...
numen31337/copy_with_extension
Auto-generate `copyWith` methods for your Dart classes.
finsberg/gotranx
Next generation ODE translator