Skip to content
affaan-m avatar

Dart Flutter Patterns

Production-ready Dart and Flutter patterns for null safety, state management, navigation, networking, and architecture.

CCM score
67 of 100
skills.sh installs
11.2K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers null safety, Freezed immutable state, async composition, and widget architecture with copy-paste-ready code
  • Includes state management guidance for BLoC, Riverpod, and Provider, plus GoRouter auth guards and Dio networking with token refresh
  • Enforces idioms such as avoiding the bang operator, checking mounted after await, and extracting widgets to classes rather than methods
  • Designed for developers writing or reviewing Dart and Flutter code who need concrete patterns for state, navigation, and architecture

Install

$ npx -y skills add affaan-m/ecc --skill dart-flutter-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Dart/Flutter Patterns

When to Use

Use this skill when:

  • Starting a new Flutter feature and need idiomatic patterns for state management, navigation, or data access
  • Reviewing or writing Dart code and need guidance on null safety, sealed types, or async composition
  • Setting up a new Flutter project and choosing between BLoC, Riverpod, or Provider
  • Implementing secure HTTP clients, WebView integration, or local storage
  • Writing tests for Flutter widgets, Cubits, or Riverpod providers
  • Wiring up GoRouter with authentication guards

How It Works

Details

Repository
github.com/affaan-m/ecc
Category
Mobile Apps
First seen
Jul 14, 2026

Questions

What does the dart-flutter-patterns skill help with?

It provides copy-paste-ready Dart and Flutter code patterns covering null safety, immutable state with Freezed, async composition, and widget architecture. It also covers state management with BLoC, Riverpod and Provider, GoRouter navigation with auth guards, Dio networking, and testing.

How do I install the dart-flutter-patterns skill?

Run npx -y skills add affaan-m/ecc --skill dart-flutter-patterns -y in your project. Once installed, the agent can write and review Dart and Flutter code using these patterns.

Which state management libraries does dart-flutter-patterns cover?

The skill covers BLoC and Cubit, Riverpod notifiers and derived providers, and Provider. It shows event and state handling for each, plus testing guidance for Cubits and Riverpod providers.

Where does dart-flutter-patterns rank in its category?

It is in the Mobile Apps category on Claude Marketplaces and ranks in the top 100 there. It sits alongside skills such as vercel-react-native-skills and animate-expo, and it focuses on Dart and Flutter architecture, state, and networking.

More from affaan-m/ecc

All 257

Similar to Dart Flutter Patterns

More Mobile Apps