flutter-expert
Build cross-platform Flutter apps
Building mobile applications across iOS, Android, and web requires deep expertise in Flutter, state management, and platform-specific implementations. This skill provides comprehensive guidance for Flutter 3+ development with Riverpod, Bloc, and GoRouter patterns.
์คํฌ ZIP ๋ค์ด๋ก๋
Claude์์ ์ ๋ก๋
์ค์ โ ๊ธฐ๋ฅ โ ์คํฌ โ ์คํฌ ์ ๋ก๋๋ก ์ด๋
ํ ๊ธ์ ์ผ๊ณ ์ฌ์ฉ ์์
ํ ์คํธํด ๋ณด๊ธฐ
"flutter-expert" ์ฌ์ฉ ์ค์ ๋๋ค. Create a Riverpod Notifier for a todo list with add, toggle, and remove functionality
์์ ๊ฒฐ๊ณผ:
- A complete Dart file with @riverpod TodoList class extending StateNotifier<List<Todo>>
- Methods for add, toggle, and remove with proper state updates
- Example usage in a ConsumerWidget with ref.watch and ref.read
- Type-safe state management following Riverpod 2.0 patterns
"flutter-expert" ์ฌ์ฉ ์ค์ ๋๋ค. Set up GoRouter with auth guard and deep linking
์์ ๊ฒฐ๊ณผ:
- GoRouter configuration with initialLocation and redirect handler
- AuthBloc integration in redirect to check authentication state
- Route parameters for deep linking (e.g., /details/:id)
- ShellRoute for persistent bottom navigation
๋ณด์ ๊ฐ์ฌ
์์ This skill is a documentation/reference skill for Flutter development. Static scanner flagged 88 external_command patterns and 1 network pattern, but all findings are FALSE POSITIVES. The scanner misidentified Dart code blocks and CLI command documentation examples as shell execution. No actual security risks exist. All content is legitimate Flutter/Dart documentation with no prompt injection attempts.
ํ์ง ์ ์
๋ง๋ค ์ ์๋ ๊ฒ
Mobile developer building new Flutter app
Get guidance on setting up project structure, choosing state management approach, and implementing core widgets following Flutter best practices.
Experienced Flutter engineer optimizing performance
Learn performance optimization techniques including const widgets, selective rebuilding, RepaintBoundary usage, and DevTools profiling.
Full-stack developer adding Flutter to stack
Understand Flutter patterns and architecture to integrate with existing backend services and implement cross-platform features.
์ด ํ๋กฌํํธ๋ฅผ ์ฌ์ฉํด ๋ณด์ธ์
Create a Flutter screen with Riverpod state management that displays a list of items from an API. Include error handling, loading states, and pull-to-refresh functionality.
Design a Bloc-based authentication flow with login, logout, and protected routes using GoRouter with auth redirect. Include session management and error states.
Review this Flutter widget and optimize unnecessary rebuilds. Show how to use const constructors, RepaintBoundary, and selective provider watching with select().
Create a clean Flutter project structure for a medium-sized app. Include feature-based directory organization, dependency injection setup, and routing configuration.
๋ชจ๋ฒ ์ฌ๋ก
- Use const constructors on all static widgets to minimize rebuild overhead
- Choose Riverpod for simple state and Bloc for complex event-driven workflows
- Profile with DevTools before optimizing - measure, do not guess
- Separate UI and business logic using proper state management patterns
ํผํ๊ธฐ
- Building widgets inside build() methods - extract to const constructors
- Using setState for app-wide state - use Riverpod providers instead
- Skipping keys on list items - causes performance and animation issues
- Blocking UI thread with heavy computation - use compute() and isolates
์์ฃผ ๋ฌป๋ ์ง๋ฌธ
When should I use Riverpod vs Bloc?
How do I optimize Flutter app performance?
What is the recommended project structure?
How do I implement deep linking in Flutter?
How do I test Flutter widgets and state?
What are const constructors and why use them?
๊ฐ๋ฐ์ ์ธ๋ถ ์ ๋ณด
ํ์ผ ๊ตฌ์กฐ
๐ references/
๐ bloc-state.md
๐ performance.md
๐ project-structure.md
๐ riverpod-state.md
๐ widget-patterns.md
๐ SKILL.md