flutter_api_handler 0.0.2
flutter_api_handler: ^0.0.2 copied to clipboard
A Flutter package for standardized API handling with HTTP and Dio support, authentication, multipart uploads, logging, and unified responses.
0.0.2 #
Improvements #
- Renamed package library exports to match the package name.
- Updated README documentation and usage examples.
- Improved package description and metadata for pub.dev compliance.
- Updated example application.
- Minor code cleanup and project structure improvements.
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.