custom_api_services 0.0.2
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
, andDELETE
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