Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributetheme_extensions_builder_annotation

Annotations for generating boilerplate code for Flutter ThemeExtension classes.

pub.devRemove
theme_extensions_gen

Generate Flutter ThemeExtensions from annotated templates with context accessors and no boilerplate.

pub.devRemove
ScoresHealth78 (best)62
Maintenance79 (best)66
Quality9797
Popularity56 (best)12
Community58 (best)41
Compatibility100 (best)93
UsageDownloads (30 days)201k (best)300
Likes411 (best)
Pub points160 / 160160 / 160
GitHub stars7 (best)2
MaintenanceLatest release7.5.0, 2 months ago1.3.0, 4 days ago (best)
Major versions in 12 months11
Contributors4 (best)1
Publisherpro100.devkalaganov.dev
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyYesNo
KindPure DartFlutter widgets
Code generationYesYes
Direct dependencies1 (best)9
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Reduces boilerplate code for custom Flutter theme extensions.
  • Provides convenient annotations and field-level exclusions like @ignore.
  • Automates copyWith, lerp, equality, and hash code generation.
  • Generates BuildContext extensions for quick theme property access.
  • Aggregates all theme implementations into lists automatically.
Weaknesses
  • Does nothing without the theme_extensions_builder package.
  • Requires build_runner and code generation setup.
  • Requires running build_runner after making changes to theme templates.
  • Template constraints require specific constructor signatures.
WarningsNoneNone
theme_extensions_builder_annotation vs theme_extensions_gen: which Flutter package should you use? | pubscout