Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeassets_scanner

Generates Dart constants for your asset paths with image preview support.

pub.devRemove
mason

Dart template generator for quick file creation

pub.devRemove
ScoresHealth3689 (best)
Maintenance087 (best)
Quality87100 (best)
Popularity2489 (best)
Community680 (best)
Compatibility8585
UsageDownloads (30 days)1.2k1.2M (best)
Likes18843 (best)
Pub points130 / 160160 / 160 (best)
GitHub stars81.1k (best)
MaintenanceLatest release2.0.0, 6 years ago0.1.3, 2 months ago (best)
Major versions in 12 months00
Contributors127 (best)
PublisherUnverifiedbrickhub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies5 (best)14
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Reduces spelling errors for asset paths
  • Supports image previewing via IDE hover
  • Customizable options via assets_scanner_options.yaml
  • Fast, consistent file generation
  • Supports Git bricks and local bricks
  • Hook system for pre/post generation logic
Weaknesses
  • Requires running build_runner to update constants
  • Limited to what can be statically generated from pubspec assets
  • Only for file generation, not runtime code
  • Requires manual setup of bricks
  • Limited to Dart/Flutter projects
WarningsNoneNone
assets_scanner vs mason: which Flutter package should you use? | pubscout