Setup & Installation
What This Skill Does
Helps manage both local widget state and shared application state in Flutter apps. Covers ephemeral state with setState, app-wide state with the Provider package, and walks through implementing the MVVM pattern with ChangeNotifier and unidirectional data flow.
Gives you a concrete decision framework and step-by-step MVVM setup instead of piecing together scattered Flutter docs and blog posts on your own.
When to use it
- Setting up a shopping cart that syncs across multiple screens
- Choosing between setState and Provider for a new feature
- Wiring up a ChangeNotifier ViewModel to a widget tree
- Refactoring tightly coupled widget state into a repository pattern
- Debugging missing notifyListeners calls that prevent UI updates