SKILL Instructions

Flutter Dio Networking

HTTP client patterns with Dio

claude
cursor
#flutter
#dio
#network
#http

About

Set up a resilient Dio client with interceptors, retries, and typed responses.

Metadata (SKILL.md frontmatter)

name
flutter-dio-networking
version
1.0.0

Instructions

Dio

  • Configure a single Dio instance with BaseOptions (baseUrl, timeouts).
  • Add interceptors for auth token refresh and logging.
  • Parse responses with json_serializable models.
  • Convert DioException to a domain Failure in the repository.