What problem does it solve?
This Skill helps developers migrate their Flutter applications from the package:provider state management solution to the more modern and robust Riverpod library, simplifying complex state management patterns.
Core Features & Use Cases
- Guided Migration: Provides step-by-step guidance for transitioning from
ChangeNotifierProvider and ProxyProvider to Riverpod equivalents.
- Incremental Adoption: Supports running Provider and Riverpod in parallel during migration.
- Key Concepts Explained: Clarifies differences in provider definition, state reading, consumer widgets, scoping, and parameterization (
.family, autoDispose).
- Use Case: You have an existing Flutter app using
package:provider and want to leverage Riverpod's benefits like improved testability and compile-time safety. This skill will guide you through replacing your ChangeNotifierProvider with NotifierProvider and ProxyProvider with ref.watch.
Quick Start
Use the riverpod-from-provider skill to understand how to replace a ChangeNotifierProvider with a Riverpod NotifierProvider.