flutter-ui-ux
Comprehensive Flutter UI/UX development skill for creating beautiful, responsive, and animated mobile applications. Use when user asks to: (1) Build Flutter UI components or screens (2) Implement animations and transitions (3) Design responsive layouts (4) Create custom widgets and themes (5) Optimi
By ajianaz · 969 installs
npx skills add ajianaz/skills-collection --skill flutter-ui-ux
Source repository · Upstream listing
Flutter UI/UX Development
Create beautiful, responsive, and animated Flutter applications with modern design patterns and best practices.
Core Philosophy
"Mobile first, animation enhanced, accessible design" Focus on:
Priority Area Purpose
1 Widget Composition Reusable, maintainable UI components
2 Responsive Design Adaptive layouts for all screen sizes
3 Animations Smooth, purposeful transitions and micro interactions
4 Custom Themes Consistent, branded visual identity
5 Performance 60fps rendering and optimal resource usage
Development Workflow
Execute phases sequentially. Complete each before proceeding.
Phase 1: Analyze Requirements
1. Understand app structure Identify existing widgets, screens, and navigation
2. Design system review Check existing themes, colors, and typography
3. Platform considerations Note iOS/Android specific requirements
4. Performance constraints Identify animation complexity and rendering needs
Output: UI requirements analysis with component breakdown.
Phase 2: Design Widget Architecture
1. Widget hierarchy planning Design composition tree
2. State management strategy Choose StatefulWidget vs StatelessWidget
3. Custom widget identification Plan reusable components
4. Theme integration Define color schemes and typography
Output: Widget architecture diagram and component specifications.
Phase 3: Implement Core UI
1. Create base widgets Build foundational components
2. Implement responsive layouts Use MediaQuery, LayoutBuilder, Flex/Expanded
3. Add custom themes ThemeData, ColorScheme, TextThemes
4. Integrate navigation Implement routing and transitions
Widget Composition Patterns:
Phase 4: Add Animations
1. Implicit animations AnimatedContainer, AnimatedOpacity
2. Explicit animations AnimationController with Tween
3. Hero animations Screen transitions with Hero widgets
4. Micro interactions Button presses, hover effects, loading states
Animation Performance Rules:
Phase 5: Optimize and Test
1. Performance profiling Use Flutter DevTools
2. Accessibility testing Screen readers, contrast ratios
3. Responsive testing Multiple screen sizes and orientations
4. Animation smoothness 60fps validation
Quick Reference
Responsive Design Patterns
Technique Use Case Implementation
LayoutBuilder Responsive layouts LayoutBuilder(builder: (context, constraints) = ...)
MediaQuery Screen info MediaQuery.of(context).size.width
Flexible/Expanded Flex layouts Flexible(child: ...) or Expanded(child: ...)
AspectRatio Fixed ratios AspectRatio(aspectRatio: 16/9, child: ...)
Animation Types
Type Widget Duration Use Case
Fade AnimatedOpacity 200 300ms Show/hide content
Slide SlideTransition 250 350ms Screen transitions
Scale AnimatedScale 150 250ms Button presses
Rotation RotationTransition 1000 2000ms Loading indicators
Custom Widget Examples
Themed Button:
Responsive Card:
Resources
Widget patterns : See references/widget patterns.md
Animation examples : See references/animation patterns.md
Theme templates : See references/theme templates.md
Performance guide : See references/performance optimization.md
Technical Stack
Core Widgets : StatelessWidget, StatefulWidget, InheritedWidget
Layout : Row, Column, Stack, GridView, ListView
Animation : AnimationController, Tween, AnimatedWidget
Themes : ThemeData, ColorScheme, TextTheme
Navigation : Navigator, MaterialPageRoute, Hero
Accessibility (Required)
Always implement:
Performance Guidelines
Use const widgets where possible
Prefer ListView.builder for long lists
Avoid unnecessary rebuilds with const keys
Use RepaintBoundary for complex animations
Profile with Flutter DevTools regularly
This Flutter UI/UX skill transforms mobile app development into a systematic process that ensures beautiful, responsive, and performant applications with exceptional user experiences.