Reactive state management using Riverpod 2.0 with code generation.
Type-safe, compile-time safe reactive state management using riverpod and riverpod_generator.
lib/
├── providers/ # Global providers and services
└── features/
└── user/
├── providers/ # Feature-specific providers
└── models/ # @freezed domain models
@riverpod annotations and riverpod_generator. Avoid manual Provider definitions.Freezed for all state models.ref.watch(): Use inside build() to rebuild on changes.ref.listen(): Use for side-effects (navigation, dialogs).ref.read(): Use ONLY in callbacks (onPressed).AsyncNotifier for complex async logic. Access data via .when() or AsyncValue pattern-matching.riverpod_lint and custom_lint for dependency cycle detection.BuildContext into a Notifier/Provider.For architecture details, best practices, and testing overrides: See references/architecture.md, references/best-practices.md, and references/testing.md.
feature-based-clean-architecture | dependency-injection | testing
npx skills add ngxtm/Flutter Riverpod State Management下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer