FAQ
Is stackchain a one-shot generator?
Section titled “Is stackchain a one-shot generator?”No. Keep it as a dev dependency and use sync, upgrade, and migrate over time.
Does it replace flutter create?
Section titled “Does it replace flutter create?”No. Create the app first, then run stackchain inside it.
Will sync delete my code?
Section titled “Will sync delete my code?”Only content inside // <stackchain:…> markers is replaced. Outside markers is preserved. Whole-file overwrites require --overwrite.
Why is clean the same folder tree as feature_first?
Section titled “Why is clean the same folder tree as feature_first?”By design in the current architecture plugins — clean emphasizes conventions on the same layered layout.
Can I use SQLite?
Section titled “Can I use SQLite?”Not as a storage enum value today. Use Hive / prefs / secure storage. Drift/Isar offline modules are on the roadmap.
What is make feature vs bricks/feature?
Section titled “What is make feature vs bricks/feature?”make feature and feature use the vertical slice generator. The GetX-oriented brick under bricks/feature/ is not that path.
Can I rename or remove a feature?
Section titled “Can I rename or remove a feature?”Yes.
dart run stackchain rename profile accountdart run stackchain remove authBoth update stackchain.yaml, files/tests, and router/DI. You cannot remove the last remaining feature.
Does migrate rewrite bootstrap?
Section titled “Does migrate rewrite bootstrap?”Yes. State changes like Riverpod → Bloc refresh bootstrap.dart (drops ProviderScope / Riverpod imports), plus presentation, DI, and feature tests.
Which version is documented?
Section titled “Which version is documented?”Documentation targets stackchain 1.1.3.