Optimizes Flutter development by enforcing best practices for performant, maintainable, and reusable widget composition.
This skill provides a comprehensive framework for building professional-grade Flutter interfaces. It guides the AI agent to prioritize performance through constant constructors and stateless widgets, ensures design consistency via centralized theming, and maintains code quality by enforcing modularity and file size limits. Whether you are building complex scrollable lists or interactive custom components, this skill ensures your Flutter code follows operational standards used in high-scale production environments.
主要功能
01Enforces UI modularity by limiting file lengths to 80 lines
02Enforces performance-first patterns using StatelessWidget and const constructors
03Optimizes list rendering using ListView.builder for large datasets
04276 GitHub stars
05Standardizes UI theming via Theme.of(context) to eliminate hardcoded values
06Mandates widget keys for interactive elements to ensure state integrity
使用场景
01Optimizing application performance for complex, high-frequency rebuild screens
02Refactoring monolithic UI files into small, atomic, and reusable widgets
03Migrating hardcoded styles to a centralized Flutter Theme system