Dart 3.5 enterprise development with Flutter 3.24, advanced async programming, state management, and cross-platform mobile development. Enterprise patterns for scalable applications with Context7 MCP integration.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
Dart 3.5 enterprise development with Flutter 3.24, advanced async programming, state management, and cross-platform mobile development. Enterprise patterns for scalable applications with Context7 MCP integration.
Dart 3.5 enterprise development featuring Flutter 3.24, advanced async programming patterns, modern state management (BLoC, Riverpod, Provider), and enterprise-grade cross-platform mobile development. Context7 MCP integration provides real-time access to official Dart and Flutter documentation.
Key capabilities:
✅ Dart 3.5 with advanced type system and patterns
✅ Flutter 3.24 enterprise mobile development
✅ Advanced async programming with Isolates and Streams
✅ Modern state management (BLoC, Riverpod, Provider)
✅ Cross-platform development (iOS, Android, Web, Desktop)
User Input → Validation errors → Show in UI
Network Call → Timeout/connection → Retry with exponential backoff
Data Parse → Format errors → Log and use default
State Update → Concurrent updates → Use immutable state pattern
Performance Optimization
Use const constructors for immutable widgets
Implement ListView.builder instead of ListView for large lists
Cache expensive computations with memoization
Profile with DevTools to identify bottlenecks
Use RepaintBoundary for complex widget trees
Testing Strategy
Unit Tests: Business logic (90%+ coverage target)
Widget Tests: UI components and interactions
Integration Tests: Full user flows and scenarios
Mocking: External dependencies with Mockito
Common Use Cases
Mobile App with API Integration
Define models and repository layer
Implement state management (Riverpod/Provider)
Create service layer for API calls
Build UI widgets consuming state
Add comprehensive error handling
Test with mocks and fixtures
Cross-Platform App (iOS + Android + Web)
Use Flutter for shared UI code
Platform channels for native code
State management for feature consistency
Responsive design with MediaQuery
Test on all target platforms
Real-Time Data (Streams)
Define stream-based providers
Listen to data updates in UI
Implement unsubscribe on disposal
Handle connection errors gracefully
Buffer/throttle high-frequency updates
Enterprise Checklist
Null safety enabled (sdk: '>=3.0.0')
Clean architecture with separation of concerns
Repository pattern for data access
State management with proper scoping
Comprehensive error handling
Logging and monitoring in place
Unit test coverage ≥85%
Widget tests for critical UI
Integration tests for key flows
Performance profiling completed
Security review (data encryption, API auth)
Documentation and code examples provided
CI/CD pipeline configured
Crash reporting integrated
Common Pitfalls
❌ Avoid
// Throwing unhandled exceptions
Future<Data> fetchData() async => apiCall(); // No error handling
// Memory leaks in streams
controller.stream.listen(...); // Not cancelled
// Mutable state in build()
int counter = 0; // Recreated on each build
✅ Do Instead
// Handle errors gracefully
Future<Data> fetchData() async {
try { return await apiCall(); }
catch (e) { return Data.empty(); }
}
// Cancel subscriptions
StreamSubscription sub = stream.listen(...);
@override void dispose() { sub.cancel(); }
// Use State/Provider for mutable data
class Counter extends StatefulWidget { ... }