smart_api_executor 0.1.0 copy "smart_api_executor: ^0.1.0" to clipboard
smart_api_executor: ^0.1.0 copied to clipboard

A lightweight API lifecycle executor for Dart and Flutter applications. Simplifies loading, success, failure and no-internet handling.

0.0.1 #

  • Initial release of smart_api_executor
  • Introduced ApiExecutor for standardized API execution
  • Added ApiResult wrapper with typed result states
  • Supported states: initial, loading, success, failure, noInternet
  • Optional no-internet detection via isNoInternet
  • Pure Dart implementation (no Flutter UI dependency)
  • Designed to work with any architecture or state management (BLoC, Riverpod, Provider, GetX)

0.1.0 #

  • Added retry support for failed API calls
  • Added timeout support for long-running requests
  • Added when() helper for developer-friendly result handling
  • Improved error handling and extensibility
11
likes
140
points
152
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight API lifecycle executor for Dart and Flutter applications. Simplifies loading, success, failure and no-internet handling.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on smart_api_executor