flutter_api_handler 0.0.1 copy "flutter_api_handler: ^0.0.1" to clipboard
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 http and dio networking 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 ApiResponse model 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.
1
likes
150
points
49
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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 response management.

Homepage
Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

connectivity_plus, dio, flutter, http, logger

More

Packages that depend on flutter_api_handler