riverpod
riverpod copied to clipboard
A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
When using a `parent` container for the root `ProviderScope`, it will not be disposed if we call runApp again with a different parent. Using the `parent` here is necessary for...
**Describe the bug** I confirmed that listening StreamProvider with `future` property in FutureProvider may causes memory leaks. **To Reproduce** Prepare project with `flutter_riverpod` ver.2.4.9, then run below gist code. https://gist.github.com/Kurogoma4D/9e73da0988ab35581723c87a6c2c9cd3...
**Describe the bug** State isn't consistently stored when assigned to variables I have a todo app with a list of tasks. If you swipe a task, the task gets deleted...
**Describe the bug** When I use `ref.invalidate` in my code lint does not prompt to include the provider in dependencies and when `ref.invalidate` fires I get an error that it...
**Is your feature request related to a problem? Please describe.** Right now, providers created as: ```dart /// public provider @riverpod Controller controller(ControllerRef ref) { return Controller(); } /// private provider...
I have created a package that automatically generates providers based on the repository. It works if the riverpod_generator: 2.3.3 and below in pubspec.yaml. it does not work for riverpod_generator: 2.3.5...
**Describe the bug** When using a `Listview.builder` to make a fetch on demand effect, the sliver will throw `'earliestUsefulChild != null': is not true` when you try to scroll back...
StreamProviders `stream` field is deprecated and planned to be removed in 3.0.0. We currently have something like this. What is the alternative for combining stream providers? ``` final realtimeObeliskDocumentProvider =...
**Is your feature request related to a problem? Please describe.** I also describe the problem here: https://github.com/rrousselGit/riverpod/discussions/2388 To summarize: the issue is that data often has multiple sources that shouldn't...
Related to https://github.com/rrousselGit/riverpod/issues/2375