-
One command
A Mason brick that turns flutter create into a production-ready app for phones, tablets and desktops.
mason make flutter_app_template -
Four layers, one direction
Every feature is data → domain → presentation on a shared core: BLoC with freezed states, get_it, and a Result that is either success or failure.
lib/features/showcase_feed/ -
A real design system
Tokens for spacing, radii, durations and states, light and dark schemes, the Tajawal font, 55 Lucide icons and 20+ ds/ widgets.
lib/common/widgets/ds/ -
Skeletons and motion
One layout for loading and loaded (.loading() / .success()) with a synced sweep, and a motion kit — scroll reveal, count-up, glint, Ken Burns, parallax — all finite and aware of reduced motion.
class FeedCard extends SkeletonWidget -
A request’s journey
Bloc → repository → data source → Dio’s interceptors in order: mock, offline cache, memory, JWT, language, log, error. With USE_MOCK=true the first one answers from assets/mock and the screen fills in.
flutter run --dart-define=USE_MOCK=true -
A first frame that’s right
A colour-only native splash hands over to an in-app splash on the same colour; theme and language are restored before the first frame, the first tab loads behind the splash, and the shell — not the splash — asks for notifications.
bootstrap() -
One layout for every screen
Five window size classes, read every frame: the floating capsule on phones, an 80dp rail on tablets and sideways phones, a collapsible 256dp sidebar from 840dp; the feed grid goes 1 → 2 → 3 columns and sheets become dialogs.
docs/RESPONSIVE.md -
Windows and macOS too
The same code on the desktop: a custom title bar in the app’s colours, the window restored where it was, shortcuts, hover and context menus, and free installers — setup.exe, MSIX and .dmg.
flutter run -d windows -
Routes and sign-in
An AppPage tree on one stack with Android predictive back; LinkDispatcher opens links over the shell; loginRequired or guestFirst, and the login wall offers “Continue as guest”.
AppNavigator.push -
Arabic first, English too
A first launch opens in Arabic and light; the strings generator refuses missing keys and turns Arabic’s six plural forms into typed methods; every layout mirrors.
dart run tool/generate_app_strings.dart -
A feature in one command
Data source, model, mapper, repository, facade, a bloc with freezed states, a screen with every state and a SkeletonWidget card — and with --mock, its fixtures.
dart run tool/generate_feature.dart orders --mock -
Two apps, shared packages
Need two apps? The companion monorepo keeps what they share in four packages — common, core, utils, features — and /port-from-brick carries every change of this brick over to it.
packages/acme/{common,core,utils,features} -
410+ tests
Bloc, widget and golden tests with the real font, size classes, the side navigation, adaptive sheets, shortcuts, height parity, theme contrast, route guard and a boot test.
flutter test -
Ready to ship, with Claude Code
A release APK of 11.6 MB instead of 74.5, Windows and macOS installers, Codemagic — and a CLAUDE.md with skills (/first-run, /new-feature, /release, /finish) so the work carries on in the same style.
dart run tool/build_release_apk.dart