Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeassets_generator

Automatically generates asset configs in YAML and Dart constants for single projects and modules.

pub.devRemove
flutter_asset_generator

Generates Dart constant files for pubspec.yaml assets to avoid manual string paths.

pub.devRemove
ScoresHealth60 (best)50
Maintenance65 (best)25
Quality90 (best)87
Popularity1353 (best)
Community4658 (best)
Compatibility8585
UsageDownloads (30 days)4049.3k (best)
Likes15112 (best)
Pub points150 / 160 (best)130 / 160
GitHub stars4290 (best)
MaintenanceLatest release5.0.1, 3 months ago (best)1.2.0, 2 years ago
Major versions in 12 months20 (best)
Contributors24 (best)
Publisherfluttercandies.comfluttercandies.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies116 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Automatically updates YAML configs
  • Generates Dart constants with customizable naming rules
  • Supports multi-module projects and workspaces
  • Automates asset path constants generation
  • Supports custom include/exclude rules and replacement rules via fgen.yaml
  • Provides file preview comments in generated code
Weaknesses
  • Requires global tool activation and path configuration
  • Relies on external CLI execution rather than a build_runner dependency
  • Requires running a CLI tool or watching changes
  • Naming conflicts can occur if different directories contain files with identical generated field names
WarningsNoneNone
assets_generator vs flutter_asset_generator: which Flutter package should you use? | pubscout