async_guard 0.0.1 copy "async_guard: ^0.0.1" to clipboard
async_guard: ^0.0.1 copied to clipboard

Prevent duplicate async calls, handle loading & errors in one line. Safe lifecycle, double-tap protection, and clean API for Flutter.

Changelog #

0.0.1 #

  • Initial release.
  • guard() — top-level async wrapper with duplicate prevention, loading state, error handling, and timeout.
  • GuardManager — singleton for tracking running tasks.
  • safeAsync() — lifecycle-safe async execution for State objects.
  • SafeAsyncExtension on State — fluent runSafe() syntax.
  • GuardedButton — widget with built-in double-tap protection and loading indicator.
  • GuardExtension on Future — chain .guard() on any future.
5
likes
160
points
34
downloads

Documentation

Documentation
API reference

Publisher

verified publisherridltech.my.id

Weekly Downloads

Prevent duplicate async calls, handle loading & errors in one line. Safe lifecycle, double-tap protection, and clean API for Flutter.

Repository (GitHub)
View/report issues

Topics

#async #guard #loading #button #state-management

Funding

Consider supporting this project:

sociabuzz.com

License

MIT (license)

Dependencies

flutter

More

Packages that depend on async_guard