Examples
Production Bloc
Section titled “Production Bloc”stackchain: preset: production_bloc features: [splash, auth, home, settings]dart run stackchain initdart run stackchain feature authflutter pub getflutter run -t lib/main_dev.dart --dart-define=FLAVOR=devRiverpod production
Section titled “Riverpod production”stackchain: preset: production_riverpod features: [home, profile]GetX MVC
Section titled “GetX MVC”stackchain: preset: getx_mvc features: [home, auth]Minimal
Section titled “Minimal”stackchain: preset: minimal features: [home]Full manual stack
Section titled “Full manual stack”stackchain: architecture: feature_first state_management: bloc routing: go_router di: get_it network: dio storage: [shared_preferences, secure_storage, hive] flavors: true ci: true features: [splash, auth, home, profile]Evolve mid-project
Section titled “Evolve mid-project”dart run stackchain feature notificationsdart run stackchain rename profile accountdart run stackchain remove notifications
dart run stackchain migrate --state bloc --dry-rundart run stackchain migrate --state blocdart run stackchain migrate --preset production_riverpoddart run stackchain upgradeBricks
Section titled “Bricks”dart run stackchain make page onboardingdart run stackchain make widget primary_buttondart run stackchain make service analyticsdart run stackchain new company_auth_slice