Skip to content

Generator flags ​

fks create and scaffold.py take the same flags. Pass them to skip the setup questions, for example in scripts or CI.

bash
python3 ~/.flutter-kickstart/skills/flutter-kickstart/scripts/scaffold.py --name acme_wallet --org com.acme --state bloc

Project ​

FlagDefaultDescription
--namerequiredPackage name, snake_case (e.g. acme_wallet)
--app-namefrom --nameDisplay name
--descriptionemptyOne-line description
--orgrequiredOrganization / reverse domain, e.g. com.acme
--platformsandroid,iosComma list: android, ios, web, macos, windows
--flavorsdevelopment,staging,productionCustom flavors only get Dart entrypoints
--output-dir.Parent folder for the new project

Stack ​

FlagDefaultDescription
--staterequiredbloc or riverpod
--networkvivaviva (viva_network_kit) or dio (plain Dio)
--routergo_routergo_router, auto_route or navigator (Flutter's built-in, no package)
--base-urlhttps://<flavor>.api.example.comFLAVOR=URL, repeatable. A bare URL applies to every flavor
--featuresnoneStarter features beyond home, e.g. auth,orders
--localesenComma list; en is always included
--crashnonenone, sentry or crashlytics

Delivery and AI ​

FlagDefaultDescription
--cigithubgithub (Actions + Fastlane) or none
--coverage-floor80Minimum line coverage CI enforces
--figma-urlemptySaved into figma-token-map.md
--agentsallall or a comma list of claude, cursor, windsurf, antigravity, codex, gemini, copilot
--copy-skillsoffCopy skills per agent instead of symlinking

Run control ​

FlagDescription
--config answers.jsonRead answers from a JSON file (keys match flags, dashes become underscores)
--dry-runPrint the plan, write nothing
--skip-createReuse an existing Very Good CLI project at <output-dir>/<name> (handy after a failed run)
--skip-verifySkip analyze and test at the end

Config file example ​

json
{
  "name": "acme_wallet",
  "app_name": "Acme Wallet",
  "org": "com.acme",
  "state": "riverpod",
  "network": "dio",
  "router": "go_router",
  "base_url": ["development=https://dev.api.acme.com", "production=https://api.acme.com"],
  "features": "auth,orders",
  "locales": "en,bn",
  "crash": "sentry",
  "ci": "github",
  "coverage_floor": 85
}
bash
fks create --config answers.json

Released under the MIT License.