riverpod_hook_mutation 1.0.0 copy "riverpod_hook_mutation: ^1.0.0" to clipboard
riverpod_hook_mutation: ^1.0.0 copied to clipboard

A package that provides a simple way to manage mutations in Riverpod

1.0.0 #

  • # new syntax
    final Mutation<String> mutation = useMutation<String>();
    mutation.mutate(() async => 'HelloWorld', context: context);
    
  • Return Mutation<T> class Instead of ValueNotifier<AsyncSnapshot<T>>
  • Pass context to track if it's mounted context.mounted
  • Update flutter version to 3.29.3

0.0.7 #

  • Add testing by @Shahad-999

0.0.6 #

  • Fix is mounted crashed when error occurred

0.0.5 #

  • Fix the bug for reallllllllll

0.0.4 #

  • Add new method .whenMutated
  • Remove .future function, use .call and .whenMutated instead
  • Add docs

0.0.3 #

  • Fix widget is mounted issue

0.0.2 #

  • Add documentation

0.0.1 #

  • Initial release.
8
likes
150
points
68
downloads
screenshot

Publisher

verified publishermatheer.com

Weekly Downloads

A package that provides a simple way to manage mutations in Riverpod

Homepage
View/report issues

Topics

#riverpod #mutation #flutter #hook #use

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, flutter_hooks, hooks_riverpod

More

Packages that depend on riverpod_hook_mutation