custom_api_services 0.0.2 copy "custom_api_services: ^0.0.2" to clipboard
custom_api_services: ^0.0.2 copied to clipboard

A Dio-based network manager with caching, authentication, offline support, progress tracking, and error handling for Flutter/Dart apps.

Dio API Package #

A Flutter/Dart package for seamless network request handling using Dio.
It comes with built-in caching, authentication, error handling, and offline support.


✨ Features #

  • Network Request Handling: Supports GET, POST, PUT, PATCH, and DELETE methods
  • Caching System: Automatic response caching with Hive
  • Authentication: Bearer token support for secured APIs
  • Progress Tracking: Upload/download progress callbacks
  • Offline Support: Returns cached data when offline
  • Error Handling: Standardized error responses for consistency
  • Request Management: Cancel active requests easily

📦 Installation #

Add the package to your pubspec.yaml:

dependencies:
  your_package_name: ^1.0.0
0
likes
135
points
165
downloads

Publisher

verified publishermanishtalreja.in

Weekly Downloads

A Dio-based network manager with caching, authentication, offline support, progress tracking, and error handling for Flutter/Dart apps.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, dio, flutter, hive, hive_flutter, http, plugin_platform_interface

More

Packages that depend on custom_api_services

Packages that implement custom_api_services