Back to Projects

Flutter Architecture & Tooling

Mason Architecture DI Monorepo Published

Challenge

Every new Flutter project starts with the same boilerplate decisions — routing, dependency injection, state management, CI configuration, and linting rules.

Approach

Codified architectural opinions into Mason brick templates. heavy_app generates a complete project with auto_route, injectable/get_it, 3 flavors (dev/staging/prod), melos monorepo, custom packages (app_ui, bloc_logger, auto_route_observer), i18n, pre-commit hooks, and FVM.

Ecosystem

8 bricks covering the full project lifecycle:

  • heavy_app — full project scaffold
  • heavy_repository_package & heavy_service_package
  • cloud_messaging_service_package
  • model_test — test generation for data models
  • annoying_analysis_options — strict lint rules
  • brick_starter — template for creating new bricks

Impact

Published on brickhub.dev. Defines "how apps should be built" — not just building apps.

This is the SEO-friendly Jaspr version. View the interactive Flutter version →