dart-flutter-patterns - Production-ready Dart and Flutter patterns
Provides Dart and Flutter patterns for null safety, immutable state, async composition, widgets, state management, navigation, networking, errors, and testing.
Tags
Updated: 2026-09-30DartFlutternull safetystate managementwidget architecturenavigationnetworkingtestingclean architecture
Capabilities
Typical Inputs
What this skill does
- Apply Dart null safety patterns
- Model immutable application state
- Compose asynchronous operations safely
- Structure Flutter widgets efficiently
- Configure BLoC, Riverpod, or Provider
- Define GoRouter authentication guards
- Implement Dio token refresh
- Handle global Flutter errors
- Test widgets and state logic
Inputs
- Dart and Flutter source code
- Application architecture choices
- State management requirements
- Navigation and authentication requirements
- Networking and storage requirements
- Testing targets
Outputs
- Dart and Flutter code patterns
- Architecture and package guidance
- Testing strategy guidance
