Skip to main content

core_api_client 1.1.1 copy "core_api_client: ^1.1.1" to clipboard
core_api_client: ^1.1.1 copied to clipboard

A lightweight Flutter package providing a production-ready API client built on Dio with Retry, Auth, and Logging interceptors.

1.1.1 #

  • Fixed empty_catches lint issues in ApiClient and ApiException.
  • Updated dependencies (dio, meta) and added collection to satisfy pub.dev analysis.
  • Improved error handling in ApiClient during token refresh.

1.1.0 #

  • Renamed package to core_api_client.
  • Updated API methods to use named parameters (url, body, params, headers).
  • Added automatic File detection in post body for easier uploads.
  • Improved debug logging format with clear separators and pretty-printed JSON.

1.0.0 #

  • Initial release.
  • Features:
    • Singleton ApiClient wrapping Dio.
    • Support for GET, POST, PUT, DELETE.
    • File upload (multipart) support.
    • Interceptors: Logging, Auth, Retry (exponential backoff).
    • Configurable timeouts, headers, and base URL.
    • ApiResponse wrapper and ApiException for structured errors.
2
likes
150
points
36
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter package providing a production-ready API client built on Dio with Retry, Auth, and Logging interceptors.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, cupertino_icons, dio, flutter, meta

More

Packages that depend on core_api_client