Implementing Riverpod

Implements Riverpod (v3.3.x) compile-safe state management for Flutter apps. Use when implementing @riverpod code generation providers, handling AsyncValue loading/error/data states, using ref.watch/ref.read/ref.listen, setting up ProviderScope, writing Notifier/AsyncNotifier classes, using FutureProvider/StreamProvider, applying autoDispose and family modifiers, combining providers, testing providers in isolation, scoping rebuilds with Consumer instead of ConsumerWidget, using ref.watch with select() for field-level precision, migrating from StateNotifierProvider or Riverpod 2.x patterns, handling Notifier resource lifecycle with ref.onDispose, or using experimental Mutation and offline persistence APIs.

Poorgramer-Zack e5adb75 4 files · 38.2 KB Updated

File contents

Poorgramer-Zack/dart-expert-skills/tree/main/skills/flutter-riverpod commit e5adb75297

Frequently asked questions

npx skillmds@latest add poorgramer-zack/implementing-riverpod