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