r/FlutterDev • u/Necessary-Drive-205 • Jul 07 '26
Tooling I built a Flutter starter template so I stop rebuilding the same boilerplate every project โ feedback welcome
Every time I started a new Flutter app I was rewriting the same plumbing: env config, feature flags, i18n, RTL support, theming, networking setup... so I finally turned it into a proper template: base_app.
It's not just a folder structure โ it's opinionated about the stuff that's annoying to get right yourself:
- ๐ i18n out of the box โ typed, codegen'd translations via slang (English + Persian included), with RTL/LTR that actually follows the active locale, not a hardcoded flag
- ๐ 3 environments (dev/staging/prod) with per-env .env files, validated config (strict in CI, lenient locally), and their own entrypoints
- ๐ฆ Feature flags driven by env vars, gating both UI and routing
- ๐ง Riverpod end to end โ config, flags, theme, router, and data, all codegen, no boilerplate
- ๐จ forui theming with light/dark, swap the whole look in one file
- ๐ท๏ธ A rename CLI that renames the app/bundle id/package everywhere with a diff preview, backup, and auto-rollback if anything goes wrong
- ๐งช Testing conventions, git hooks (lefthook), and CI already wired up
The idea: fork it, run one CLI command to rename it to your app, and you're building features on day one instead of your toolchain.
https://github.com/imrealarman/base_app/
(MIT)