core_api_client 1.1.0
core_api_client: ^1.1.0 copied to clipboard
A lightweight Flutter package providing a production-ready API client built on Dio with Retry, Auth, and Logging interceptors.
1.1.0 #
- Renamed package to
core_api_client. - Updated API methods to use named parameters (
url,body,params,headers). - Added automatic
Filedetection inpostbody 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.