riverpod
riverpod copied to clipboard
A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
Respecting this don't in [AVOID initializing providers in a widget](https://riverpod.dev/docs/essentials/do_dont#avoid-initializing-providers-in-a-widget). ```dart class WidgetState extends State { @override void initState() { super.initState(); // Bad: the provider should initialize itself ref.read(provider).init(); }...
This PR adds "{@template}" to the source code of the documentation, and provides the latest Korean translation (include comments in code) of the following pages. - introduction: 2 pages -...
**Describe the bug** I have an app where there is a button in the home page. Upon clicking the button, it navigates me to accounts list page which are retrieved...
**Describe the bug** Let's say I have a Widget that depends on FutureProvider A, and then FutureProvider A depends on FutureProvider B. The Widget doesn't know about FutureProvider B. If...
**Is your feature request related to a problem? Please describe.** I'm new to Riverpod and I come from Provider. As I was using Riverpod, I thought `ref.watch(provider.notifier)` was doing the...
**Make riverpod onboarding easier.** A great feature of riverpod is that we can easily implement dependency injection. But this is not described in the documentation. The documentation should contain: How-To...
**Make riverpod onboarding easier.** AsyncValue is a core feature of riverpod when we use AsyncNotifier / FutureProvider, but is not explained in the documentation. Currently new user have to look...
**Describe what scenario you think is uncovered by the existing examples/articles** Riverpod is too flexible and awesome but developers often get lost in it. Developers needs a pattern or structure...
**Describe the bug** I'm using `flutter_riverpod: ^2.5.1` I'm having the error `Unhandled Exception: setState() or markNeedsBuild() called during build.` when I combine overriddes and async providers (`StreamProvider` or `FutureProvider`). **To...
When utilizing the balanceProvider, the balance.when() method does not consistently enter the loading state as expected. Instead, it either directly throws an error or fails to update the value properly,...