Ross ROSS = Recommend OSS · open-source software intelligence for agents

FlutterGen/flutter_gen

The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs. observed · 2026-08-28

github.com/FlutterGen/flutter_gen · homepage · Dart · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

93/100

  • Activity 99
  • Release rhythm 81
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 66
  • age_days: 2203
  • days_rel: 51
  • days_push: 8
  • n_releases_24m: 10

Full methodology

Adoption not part of the score

1578 stars · 184 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

FlutterGen is a Dart/Flutter code generator that creates type-safe accessors for assets, fonts, colors, and other resources, eliminating String-based APIs. It runs as a build_runner integration (flutter_gen_runner) or as a standalone CLI executable (fluttergen).

Use cases

  • generate type-safe asset references in flutter
  • avoid typo crashes from hardcoded asset path strings
  • generate code for fonts and colors in flutter projects
  • integrate asset code generation into build_runner
  • generate asset accessors across dart pub workspaces
  • replace string-based asset APIs with generated classes

When to choose

  • you maintain a Flutter project with many assets, fonts, or colors and want compile-time safety
  • you want SwiftGen-style generated accessors for Dart/Flutter
  • you use build_runner and want automatic regeneration of asset code

When to avoid

  • your project is not Flutter/Dart
  • you have very few assets and string paths are manageable
  • you cannot adopt build_runner or the minimum Dart SDK version

Facets

cli-tool · maturity active

build-tool developer-tools mobile-development developer-tools cross-platform cross-platform cli windows flutter dart code-generator assets fonts colors type-safety build-runner swiftgen-inspired code-generation macos linux

5 sources

Member repositories

RepositoryRoleHealth v2
FlutterGen/flutter_genmain93

For agents

markdown · JSON · MCP: product_card(name="FlutterGen/flutter_gen")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem