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

A Flutter Hooks library providing Result-like async primitives, Commands for event handlers, and utilities for managing async operations.

0.0.1 #

  • Initial release
  • Added useCommand and useAsyncCallbackDedup hooks for async event handlers
  • Added useObservable and useCancellableFuture hooks for reactive data
  • Added useExplicitRender utility hook
  • Added AsyncSnapshot Result-like extensions (ok, err, pending, mapOrElse)
  • Added Future utilities (fromCancellableFuture, retryFuture, asyncMap, asyncReduce)
0
likes
160
points
99
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter Hooks library providing Result-like async primitives, Commands for event handlers, and utilities for managing async operations.

Repository (GitHub)
View/report issues

Topics

#flutter #hooks #async #state-management

Documentation

API reference

License

MIT (license)

Dependencies

cancellation_token, flutter, flutter_hooks, rxdart

More

Packages that depend on command_hooks