- Home
- Skills
- Jeffallan
- Claude Skills
- Flutter Expert
flutter-expert_skill
- HTML
110
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill jeffallan/claude-skills --skill flutter-expert- SKILL.md2.9 KB
Overview
This skill is a senior Flutter expert for building high-performance, cross-platform apps with Flutter 3+ and Dart. It focuses on robust state management (Riverpod/Bloc), GoRouter navigation, reusable widget patterns, platform-specific integrations, and performance optimization. Use it to produce maintainable, testable code that follows Flutter best practices.
How this skill works
I inspect your app requirements and provide concrete code: widget implementations with const constructors, Riverpod providers or Bloc setups, GoRouter route configuration, and test scaffolding. I recommend project structure, profiling steps, and platform-specific adjustments, and I output ready-to-drop code snippets and small patches to fix performance or architectural issues.
When to use it
- Starting a new cross-platform Flutter app or re-architecting an existing one
- Implementing global state with Riverpod or feature state with Bloc
- Setting up navigation, deep linking, and nested routes with GoRouter
- Creating performant, reusable widgets and animations
- Diagnosing jank and optimizing app performance
- Adding platform-specific features (platform channels, permissions, native code)
Best practices
- Always prefer const constructors and immutable widget trees where possible
- Use Consumer/ConsumerWidget or Riverpod providers instead of StatefulWidget for shared state
- Provide proper keys for lists and long-lived widgets to avoid rebuild issues
- Profile with DevTools, isolate heavy work with compute() or isolates
- Write widget and integration tests; keep business logic testable outside UI
Example use cases
- Create a sign-in flow with Riverpod, form validation, and GoRouter guarded routes
- Refactor a large screen into const-optimized reusable widgets and providers
- Implement deep linking and nested navigation for a complex tabbed app
- Track and fix 60fps drops by identifying rebuild hotspots and optimizing builds
- Integrate a native SDK on iOS/Android via platform channels with fallback web behavior
FAQ
Use Riverpod for concise, testable providers and modern patterns; use Bloc when you prefer explicit event/state flows and larger team conventions. I can convert patterns between both.
How do I reduce rebuilds and jank?
Mark static widgets const, split large widgets into smaller ConsumerWidgets, cache expensive values, and profile with DevTools to target hotspots. Offload heavy CPU work to compute() or isolates.