api_client_dio 0.1.0 copy "api_client_dio: ^0.1.0" to clipboard
api_client_dio: ^0.1.0 copied to clipboard

A simple, opinionated Dio wrapper for Flutter. Handles base URL, token injection, 401 refresh/redirect, logging, and timeouts out of the box. Framework-agnostic.

0.1.0 #

  • Initial release
  • ApiClient with configurable timeouts, headers, and base URL
  • TokenProvider abstraction for authentication tokens
  • ApiInterceptor with automatic Bearer token injection
  • 401 detection with optional token refresh and retry
  • Built-in request/response logging interceptor
  • Full CRUD methods (GET, POST, PUT, PATCH, DELETE)
  • Runtime base URL switching
  • Zero dependencies aside from Dio
0
likes
160
points
30
downloads

Documentation

API reference

Publisher

verified publisherciptaantaradigital.com

Weekly Downloads

A simple, opinionated Dio wrapper for Flutter. Handles base URL, token injection, 401 refresh/redirect, logging, and timeouts out of the box. Framework-agnostic.

Repository (GitHub)
View/report issues

Topics

#dio #api #http #network #interceptor

License

MIT (license)

Dependencies

dio, flutter

More

Packages that depend on api_client_dio