MVVM
stackchain: architecture: mvvmFolder structure
Section titled “Folder structure”lib/features/<name>/ data/ models/ viewmodels/ views/ widgets/- Clear View ↔ ViewModel separation
- Natural fit for form-heavy screens
- Less explicit domain layer than feature_first/clean
- Cross-feature domain reuse needs intentional
coredesign
When to choose
Section titled “When to choose”UI-centric apps where ViewModels are the primary unit of presentation logic.
Generated output
Section titled “Generated output”Model + view model (+ page). RxDart variant uses stream-based ViewModels where applicable.