riverpod_swiss_knife library
A Swiss Army knife for Riverpod.
Mixins
-
UpdateNotifierMixin<
T> -
A mixin that adds an
updatemethod, meant to be used onNotifier
Extensions
- AddDisposeDelayRef on Ref
-
Extension on
Refto add a dispose delay. - CacheRef on Ref
-
Extension on
Refto cache the provider for a specific duration. - DebounceForRef on Ref
-
Extension on
Refto debounce the provider for a specific duration. - InvalidatePeriodicallyRef on Ref
-
Extension on
Refto periodically invalidate a provider. - RefInvalidateSelfAfter on Ref
-
Extension on
Refto invalidate itself after a specific duration. - RefOnRepeat on Ref
-
Extension on
Refto do something repeatedly at a specific interval. - RefRun on Ref
-
Extension on
Refto run an asynchronous provider, and get its value. - RefTimeout on Ref
-
Extension on
Refto do something after a specific duration.
Exceptions / Errors
- RiverpodCancelException
- thrown when an operation is canceled: should be quite low in your logs level, and should be ignored in your business logic