Flutter Use Http Package
Skill AktivUse the `http` package to execute GET, POST, PUT, or DELETE requests. Use when you need to fetch from or send data to a REST API.
To guide developers in effectively fetching data from and sending data to REST APIs within Flutter applications using the `http` package.
Funktionen
- Execute GET, POST, PUT, DELETE requests
- Configure REST API access with headers and payloads
- Handle HTTP status codes and error responses
- Perform background JSON parsing using isolates
- Integrate network operations with Flutter's UI
Anwendungsfälle
- Fetching data from a REST API to display in a Flutter app
- Sending user input or data to a backend service
- Implementing background data processing for network responses
- Handling API errors gracefully in the Flutter UI
Nicht-Ziele
- Providing a full-fledged API client library
- Handling complex WebSocket or GraphQL communication
- Managing authentication flows beyond simple token injection
Security
- warning:Secret ManagementThe example code includes a placeholder for 'your_token_here' in the Authorization header, which could be mistaken for a real token and might be accidentally committed. The README does not explicitly mention how to handle sensitive tokens.
- warning:Data ExfiltrationThe example code includes a placeholder for an authorization token that, if a real token were substituted and committed, could lead to data exfiltration if the project were compromised. The README does not mention security considerations for API keys.
Trust
- info:Issues Attention17 issues opened and 27 closed in the last 90 days, indicating active maintenance but a closure rate below 50%.
Code Execution
- warning:ValidationWhile the example code checks for status codes and throws exceptions, it relies on manual mapping to Dart objects and does not explicitly use a schema validation library for parameter or response validation.
Compliance
- info:GDPRThe skill does not specifically operate on personal data, but the example code includes a placeholder for an authorization token, which could be personal data if mishandled.
Installation
npx skills add flutter/skillsFührt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.
Qualitätspunktzahl
Vertrauenssignale
Ähnliche Erweiterungen
Definition Of Done
100Mandatory checks to run before completing any task that touches md files or dart code in this repository.
High Performance Browser Networking
100Optimize web performance through network protocols, resource loading, and browser rendering internals. Use when the user mentions "page load speed", "Core Web Vitals", "HTTP/2", "resource hints", "network latency", "render blocking", "TCP optimization", "service worker", or "critical rendering path". Also trigger when diagnosing slow page loads, optimizing time to first byte, choosing between WebSocket and SSE, or reducing bundle sizes. Covers TCP/TLS optimization, caching strategies, WebSocket/SSE, and protocol selection. For UI visual performance, see refactoring-ui. For font loading, see web-typography.
Developing Genkit Dart
99Generates code and provides documentation for the Genkit Dart SDK. Use when the user asks to build AI agents in Dart, use Genkit flows, or integrate LLMs into Dart/Flutter applications.
Sentry Flutter Sdk
98Full Sentry SDK setup for Flutter and Dart. Use when asked to "add Sentry to Flutter", "install sentry_flutter", "setup Sentry in Dart", or configure error monitoring, tracing, profiling, session replay, or logging for Flutter applications. Supports Android, iOS, macOS, Linux, Windows, and Web.
Dart Test Fundamentals
98Core concepts and best practices for `package:test`. Covers `test`, `group`, lifecycle methods (`setUp`, `tearDown`), and configuration (`dart_test.yaml`).
Dart Modern Features
98Guidelines for using modern Dart features (v3.0 - v3.10) such as Records, Pattern Matching, Switch Expressions, Extension Types, Class Modifiers, Wildcards, Null-Aware Elements, and Dot Shorthands.