riverpod icon indicating copy to clipboard operation
riverpod copied to clipboard

A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.

Results 227 riverpod issues
Sort by recently updated
recently updated
newest added

**Describe the bug** my provider code ```dart @riverpod class SelectTask extends _$SelectTask { @override Task? build() { return null; } setTask(Task task) { state = task.copyWith(); } } ``` my...

bug
needs triage

**Describe the bug** Occasionally, my Flutter application crashes with a Null type cast error related to Riverpod's ProviderContainer. The crash is infrequent ( but has been consistently logged in Crashlytics....

bug
question

**Is your feature request related to a problem? Please describe.** Providers are suffixed by default. We'd prefer to use a prefix instead: `someDataProvider` -> `provSomeData` This makes it so the...

enhancement
riverpod_generator

Internal issue for tracking what's needed for 3.0 - [ ] Fix all TODOs - [ ] Revamp the scheduler mechanism to remove `ProviderElement.flush` in favour of rebuilding all dirty...

**Is your feature request related to a problem? Please describe.** I'm extracting listeners to separate function for better readability. ``` ref.listen( someProvider, someListener(context, param1), ); ``` ``` SomeListenerType someListener( BuildContext...

enhancement
riverpod_generator

### Discussed in https://github.com/rrousselGit/riverpod/discussions/2418 Originally posted by **motucraft** April 1, 2023 Hi there. I have a question about the behavior when an error occurs in AsyncNotifier. Here is a simple...

bug
breaking

**Is your feature request related to a problem? Please describe.** Consider this gist: https://dartpad.dev/?id=ba69a9c1066bed38ea72ec8dd185f44d This example consists of: - a FutureProvider `userProvider` that loads user data - an intermediary provider...

enhancement
breaking

Hello **Describe the bug** When trying to override a provider in tests, if I have 2 ProviderScope in my widget tree, I get the error message: ``` Tried to read...

bug

ProviderObserver.providerDidFail now handles Exceptions from asynchronous providers (https://github.com/rrousselGit/riverpod/pull/3067) but `didUpdateProvider` still receive AsyncErrors too, which might lead to issues/duplicates. Is there a reason for that? I'd like to fix this...

enhancement
breaking