building-flutter-production-apps
Skill7 starsChanged 8 months agoMITView on GitHub
Expert-level guidance for Flutter production applications: architecture decisions (Clean/Layered/Hexagonal/Feature-First), advanced state management (BLoC/Riverpod/GetX), performance optimization (eliminating jank, memory profiling, reducing rebuild overhead), code review with design pattern enforcement, scalability assessments, native platform integration (MethodChannel/EventChannel/FFI), complex UI challenges (custom render objects, slivers), testing strategies (unit/widget/integration/golden), CI/CD pipeline architecture, build optimization, and accessibility compliance. Triggers: 'architecture decision', 'design pattern', 'performance issue', 'code review', 'production problem', 'scaling concerns', 'best practices', 'technical debt', 'refactoring strategy'. Essential for complex enterprise apps, critical production debugging, architectural refactors, or when choosing between competing technical approaches.
In this repository41 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- skill-creatorSkill
- flutter-dbSkill
- flutter-routingSkill
- flutter-state-managementSkill
- configuring-codemagicSkill
- applying-effective-dartSkill
- deploying-with-fastlaneSkill
- integrating-firebaseSkill
- implementing-fl-chartSkill
- integrating-google-adsSkill
- animating-flutter-widgetsSkill
- routing-with-autorouteSkill
- implementing-flutter-blocSkill
- configuring-deep-linksSkill
- persisting-data-with-driftSkill
- generating-flutter-uiSkill
- routing-with-gorouterSkill
- managing-hive-storageSkill
- using-flutter-hooksSkill
- running-flutter-isolatesSkill
- managing-flutter-provider-stateSkill
- implementing-responsive-layoutsSkill
- implementing-riverpodSkill
- managing-secure-storageSkill
- flutter-setupSkill
- managing-shared-preferencesSkill
- implementing-flutter-social-authSkill
- flutter-testingSkill
- using-fpdartSkill
- generating-freezed-modelsSkill
- configuring-github-actionsSkill
- building-jaspr-web-appsSkill
- testing-with-marionetteSkill
- implementing-openapi-in-dartSkill
- integrating-revenuecatSkill
- integrating-sentrySkill
- developing-serverpod-backendSkill
- building-shadcn-flutter-uiSkill
- integrating-supabaseSkill
- converting-ts-to-dartSkill
The file
Files
Flutter Expert Guide
Overview
Expert reference for Flutter architecture, UI implementation, native platform integration, and performance optimization across the full application lifecycle.
Process
🚀 High-Level Workflow
Architecting a scalable Flutter application involves the following development phases:
Phase 1: Environment & Architecture Foundations
1.1 Core Architectural Design
Choose between feature-first and layer-first directory structures. Architect Domain, Data, and Presentation layers.
- References:
architecture.md,architecture-decision-matrix.md
Phase 2: Application Navigation & Interactive UI Delivery
2.1 Phenomenal UI Implementation & Theming
Build responsive adaptive UI with accessibility (a11y) and internationalization (i18n) standards.
- References:
layout.md,theming.md,accessibility.md,localization.md
2.2 System UI Control & Immersion
Fine-tune status bar and navigation bar aesthetics. Control full-screen immersive modes while effectively resolving manufacturer-specific layout bugs.
- Reference:
system-ui.md
2.3 Animations & Micro-Interactions
Implement implicit/explicit animations and micro-interactions to improve perceived performance and UX.
- Reference:
animation.md
Phase 3: Data Integration & Systemic Performance
3.1 Advanced Data Architectures
Implement HTTP clients, JSON parsing strategies, and response caching.
- References:
http-and-json.md,caching.md
3.2 Performance & Concurrency Scaling
Move heavy computation to background isolates to prevent UI jank. Optimize compiled app size via tree shaking, deferred loading, and asset compression.
- References:
performance.md,concurrency.md,app-size.md
3.3 Deep Native Platform Integrations
Communicate with native OS APIs via MethodChannel, EventChannel, or dart:ffi.
- References:
native-interop.md,platform-views.md,plugins.md,home-screen-widget.md
Reference Files
📚 Documentation Library
Specialized reference documents for each topic:
Architecture Foundations
- 🏗️ Architectural Foundations
- 🎯 Architecture Decision Matrix
Visual Presentation (UI/UX)
- 🎨 Layout Foundations
- 🎭 Theming Frameworks
- 📱 System UI Control
- ✨ Animation Fluidity
- ♿ Accessibility (a11y)
- 🌍 Localization (i18n)
Systems, Network & Data
- 🌐 HTTP & JSON Parsing
- 🗄️ Advanced Caching
Native Devices & Platform Enhancements
- 🔌 Native Interop (FFI/Channels)
- 📱 Platform Views
- 🧩 Plugins Authoring
- 🏠 Home Screen Widgets
Optimization & Quality Assurance
- ⚡ Performance Tuning
- 🧵 Concurrency & Isolates
- 📦 Application Size Reduction
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

