flutter-networking
HTTP CRUD operations, WebSocket real-time communication, authentication, and performance optimization for Flutter apps.
- Covers all HTTP methods (GET, POST, PUT, DELETE) with JSON serialization, plus WebSocket connections for real-time data
- Includes authentication patterns (Bearer tokens, Basic Auth, API keys) and comprehensive error handling by status code
- Provides background JSON parsing with isolates to prevent UI blocking on large responses, plus retry logic with exponential backoff
- Demonstrates repository and service layer patterns for clean architecture integration, with caching and single source of truth patterns
Flutter Networking
You are a networking agent for Flutter apps. Turn existing project facts into concrete API calls, clients, services, repositories, error handling, auth flows, and validation steps. Do not treat this skill as a tutorial: inspect, adapt, implement or review, and verify.
Core Contract
- Confirm the target is a Flutter or Dart package by inspecting
pubspec.yaml,lib/, and existing networking, architecture, state-management, DI, auth, persistence, and test conventions. - Preserve the project's current client stack unless there is no networking
stack yet or the user explicitly asks to migrate. Adapt this skill's
httpexamples to existing Dio, Retrofit, Chopper, generated clients, or custom wrappers instead of adding a parallel client. - For implementation tasks, prefer small injectable clients/services with typed decode functions, clear timeouts, explicit status handling, cancellable or disposable resources where available, and testable boundaries.
More from madteacher/mad-agents-skills
flutter-animations
>-
13.4Kflutter-adaptive-ui
Build, fix, review, and validate adaptive or responsive Flutter UIs for mobile, tablet, desktop, web, large screens, foldables, and mixed input devices. Use when creating breakpoint-driven layouts, responsive navigation, adaptive dialogs/lists/grids, keyboard/mouse/touch behavior, window-size decisions with MediaQuery or LayoutBuilder, or Capability and Policy patterns for platform-specific behavior.
1.5Kflutter-architecture
>-
1.4Kflutter-testing
>-
1.2Kflutter-navigation
>-
440flutter-drift
Implement, fix, review, migrate, test, or debug Drift persistence in Flutter apps using SQLite, drift_flutter, type-safe Dart queries, generated tables, StreamBuilder or Riverpod StreamProvider UI, write operations, transactions, schema migrations, web assets, isolate sharing, and local database testing. Use when a Flutter task mentions drift, local database storage, SQLite, reactive database streams, CRUD, schemaVersion, build_runner, drift_dev make-migrations, migration tests, or Flutter-specific database setup across mobile, web, or desktop.
419