riverpod_hook_mutation 1.0.0
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 ofValueNotifier<AsyncSnapshot<T>>
- Pass
context
to track if it'smounted
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.