Dart/Flutter Patterns
Production Dart and Flutter patterns: null safety, immutable state with Freezed, BLoC and Riverpod, GoRouter with auth guards, Dio networking, and testing.
- What
- Production Dart and Flutter patterns: null safety, immutable state with Freezed, BLoC and Riverpod, GoRouter with auth guards, Dio networking, and testing.
- Cost
- Free
- Needs
- a Flutter project (Dart 3). Pure guidance skill, nothing to install.
- Level
- Beginner — a Flutter project (Dart 3).
- Install
- Copy the installer prompt below into your Muse — your agent does the rest.
Curated by Skill Harbor: a patterns skill for shipping production Flutter apps without the usual state-management spaghetti. It is organized by concern with copy-paste-ready Dart: null safety done right (avoid the ! operator, prefer ?., ??, and pattern matching), immutable state via sealed classes and Freezed with copyWith, async composition (concurrent Future.wait, safe BuildContext handling after await), widget architecture (extract widgets to classes, never helper methods, propagate const, scope rebuilds), state management with BLoC/Cubit events and Riverpod notifiers plus derived providers, GoRouter navigation with reactive auth guards, Dio networking with interceptors and a one-time token-refresh retry guard, global error capture with ErrorWidget.builder and crash reporting wiring, and testing (BLoC tests, widget tests with ProviderScope overrides, fakes over mocks). By @affaan-m, listed here with credit to its creator. From the affaan-m/ECC repository (MIT). Honest caveats: pure guidance, nothing to install; assumes Dart 3 and a working Flutter project; its state-management opinions center on BLoC and Riverpod, so GetX or MobX shops will get less value. Skill Harbor never reviews the code, review it yourself before use.
Version:
Quick answer
Dart/Flutter Patterns is a free Muse skill for shipping production Flutter apps without the usual state-management spaghetti. Organized by concern with copy-paste-ready Dart, it covers null safety, immutable state via sealed classes and Freezed, async composition, BLoC and Riverpod, GoRouter with auth guards, and Dio networking.
Install
Copy the install package below, then paste it into Muse🧪 Install ran in our test sandbox · Nov 11, 2026📌 Pinned version: commit 4eb71d9Pinned version: install the code at commit 4eb71d92a39cab44ad40ac9d8a6a5ccb4029d6c2 exactly (Skill Harbor tested this version). Do not substitute a newer version. If this commit is unreachable, stop and tell me. Use "Dart/Flutter Patterns" with your Muse. Prerequisites: a Flutter project (Dart 3). Pure guidance skill, nothing to install. 1. Open the skill: https://raw.githubusercontent.com/affaan-m/ECC/4eb71d92a39cab44ad40ac9d8a6a5ccb4029d6c2/skills/dart-flutter-patterns/SKILL.md and copy the full SKILL.md text. 2. Paste it into a chat with Muse and add: "Review this widget for null-safety and rebuild-scope issues against these patterns." 3. For new features: "Build this screen with Riverpod following these patterns, GoRouter navigation included." Tip: name your state-management choice up front (BLoC or Riverpod); the skill covers both and will otherwise ask. Safety: a skill is plain-text instructions; it runs nothing by itself. Never paste secrets into a chat, and review anything Muse proposes before it changes your code.
Saved to your recent installs. Find it anytime on /connect.
🔒 Security, provenance and what this touches
The install prompt below already includes the vetting steps: your agent follows the community checklist before installing anything with executable code. Want more?
Verification certificate
Dated facts about what was checked for this listing, and how. This is not a safety certification.
- Pinned version
- 4eb71d9 · 2026-10-13
- Sandbox install test
- Install ran in our test sandbox · Nov 11, 2026
- Creator identity
- Not verified
- Fingerprint watch
- Last checked · Nov 21, 2026 : no change detected in the files linked by this install prompt
- Install prompt analysis
- 2026-10-13 : No commands, network calls, packages, file writes or API keys detected.
Skill Harbor never reviews the code of a listed skill. These are dated facts about the install prompt and our install test, not a safety certification. Review a skill yourself before you install it. How we verify
Questions
How do I install a skill?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the skill up for you — no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.
What does the ✓ next to a creator’s name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a skill before installing it.