flutter_api_handler 0.0.1
flutter_api_handler: ^0.0.1 copied to clipboard
A robust and customizable Flutter package for standardized HTTP API handling with support for both HTTP and Dio engines, dynamic headers, authentication, multipart requests, logging, and unified respo [...]
0.0.1 #
Initial Release 🎉 #
Features
- Added support for both
httpanddionetworking engines. - Standardized API methods:
- GET
- POST
- PUT
- PATCH
- DELETE
- Multipart/Form requests
- Dynamic API configuration through
ApiConfig. - Token-based authentication with async token provider.
- Custom language code provider support.
- Global unauthorized response callback handling.
- Configurable request timeout settings.
- Unified
ApiResponsemodel for all responses. - Automatic network connectivity validation.
- Advanced error handling and exception mapping.
- Request and response logging for easier debugging.
- Support for custom default headers.
- Clean and extensible architecture for Flutter applications.