Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeindex_generator

Automatically generate index / barrel / library files with all exports needed.

pub.devRemove
mason

Dart template generator for quick file creation

pub.devRemove
ScoresHealth5289 (best)
Maintenance1487 (best)
Quality91100 (best)
Popularity5389 (best)
Community3980 (best)
Compatibility8585
UsageDownloads (30 days)24k1.2M (best)
Likes33843 (best)
Pub points140 / 160160 / 160 (best)
GitHub stars161.1k (best)
MaintenanceLatest release4.1.2, a year ago0.1.3, 2 months ago (best)
Major versions in 12 months00
Contributors727 (best)
PublisherUnverifiedbrickhub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies11 (best)14
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Supports custom include/exclude filters via glob expressions.
  • Can be run via CLI or integrated with build_runner.
  • Allows custom output paths, disclaimers, and package-style exports.
  • Fast, consistent file generation
  • Supports Git bricks and local bricks
  • Hook system for pre/post generation logic
Weaknesses
  • Not documented beyond configuration options and basic usage.
  • Only for file generation, not runtime code
  • Requires manual setup of bricks
  • Limited to Dart/Flutter projects
WarningsNoneNone
index_generator vs mason: which Flutter package should you use? | pubscout