flutter_api_handler 0.0.2 copy "flutter_api_handler: ^0.0.2" to clipboard
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 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
160
points
45
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for standardized API handling with HTTP and Dio support, authentication, multipart uploads, logging, and unified responses.

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