dio_result_handler 1.0.2 copy "dio_result_handler: ^1.0.2" to clipboard
dio_result_handler: ^1.0.2 copied to clipboard

A lightweight Flutter package for simplified API handling using Dio, with built-in success & failure result wrapping via ApiResult.

1.0.2 #

  • Just updated the example/main.dart and added comments for better understanding.

1.0.1 #

  • Added support for connectTimeout and receiveTimeout in DioApiHandlerConfig.
  • Improved configuration flexibility for network timeouts.

1.0.0 #

  • Initial release with core API handling built on top of Dio.
  • Added ApiResult with ApiSuccess and ApiFailure for clean response handling.
  • Added ApiHandler.request() for unified GET, POST, PUT, and DELETE calls.
  • Added ApiClient with token management (setToken, clearToken).
  • Added DioApiHandlerConfig for centralized base URL, token, and error callback setup.
2
likes
140
points
32
downloads

Documentation

API reference

Publisher

verified publisherkhatrihub.site

Weekly Downloads

A lightweight Flutter package for simplified API handling using Dio, with built-in success & failure result wrapping via ApiResult.

License

MIT (license)

Dependencies

dio, flutter

More

Packages that depend on dio_result_handler