A production-grade, backend-agnostic Flutter application template built for teams that care about structure from day one. It ships with clean architecture (presentation, domain, data layers), Riverpod state management with code generation, a full Material 3 dark theme, design tokens via AppColors and AppConstants, six core services with interface/implementation separation, a Result type for safe error handling, environment and flavor support, barrel exports, and a CLAUDE.md optimised for AI-assisted development. Clone it, run the setup script, and start building — no boilerplate wiring required.
- Flutter SDK installed
- Dart SDK installed (comes with Flutter)
- Git installed
git clone <repo-url> your-app-name
cd your-app-nameThe cloned folder should already be named your app name from Step 1. If not, rename it manually now.
dart setup/setup.dartFollow the prompts to enter:
- App display name (e.g. Just Tap)
- Package name (e.g. com.antigrav.justtap)
Package name rules:
- All lowercase
- At least 3 segments separated by dots
- Only letters, numbers, underscores
- Example:
com.yourcompany.appname
flutter clean && flutter pub getflutter runDo not initialize it with a README or .gitignore — keep it empty.
git remote remove origin
git remote add origin <your-new-repo-url>
git branch -M main
git push -u origin maingit remote -vShould show your new repo URL for both fetch and push.
The script updates every location where the app name and package name appear:
- Android files —
AndroidManifest.xml,build.gradle,MainActivity.kt, package directory structure - iOS files —
Info.plist,AppDelegate.swift,project.pbxproj, bundle identifier references - Dart/Flutter files —
pubspec.yaml,app.dart, import paths that include the package name - Documentation files —
README.md,CLAUDE.md,CONTEXT.md, and any other docs that reference the template name
- Clean architecture + Riverpod (with code generation)
AppColorsandAppConstantsdesign tokens- Dark theme with full Material 3 support
- 6 core reusable widgets
- 6 core services with interfaces (
LogService,CrashService,AnalyticsService,ConnectivityService,PermissionService,UpdateService) Resulttype for error handling- Environment and flavor support
- Barrel exports
CLAUDE.mdfor AI-assisted development
- Replace stub service implementations with real ones as needed — stubs exist to show structure, not to be shipped as-is
- Read
CLAUDE.mdbefore starting development — it contains standing rules for code organisation, architecture, and tooling - Read
ARCHITECTURE_FLOW.mdfor a full overview of data flow and layer responsibilities