Setup & Installation
What This Skill Does
Handles HTTP requests and JSON serialization in Flutter apps. Covers GET, POST, PUT, and DELETE operations with the http package, manual and code-generated JSON parsing, and background isolate parsing for large payloads.
It gives you ready-made patterns for HTTP calls, JSON mapping, and background parsing so you don't have to piece together Flutter docs, package READMEs, and StackOverflow answers each time.
When to use it
- Fetching data from a REST API and mapping it to Dart model classes
- Posting form data to a backend service with proper headers and status code checks
- Setting up json_serializable code generation for complex nested models
- Moving large JSON parsing to a background isolate to avoid UI jank
- Configuring platform permissions for network access on Android and macOS