Skip to main content

Flutter Use Http Package

Skill Active

Use 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.

Purpose

To guide developers in effectively fetching data from and sending data to REST APIs within Flutter applications using the `http` package.

Features

  • 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

Use Cases

  • 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

Non-Goals

  • 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/skills

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

94 /100
Analyzed about 24 hours ago

Trust Signals

Last commit2 days ago
Stars1.9k
LicenseBSD-3-Clause
Status
View Source

Similar Extensions

Definition Of Done

100

Mandatory checks to run before completing any task that touches md files or dart code in this repository.

Skill
flutter

High Performance Browser Networking

100

Optimize 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.

Skill
wondelai

Developing Genkit Dart

99

Generates 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.

Skill
firebase

Sentry Flutter Sdk

98

Full 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.

Skill
getsentry

Dart Test Fundamentals

98

Core concepts and best practices for `package:test`. Covers `test`, `group`, lifecycle methods (`setUp`, `tearDown`), and configuration (`dart_test.yaml`).

Skill
flutter

Dart Modern Features

98

Guidelines 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.

Skill
flutter

© 2025 SkillRepo · Find the right skill, skip the noise.