I'm new to flutter and very new to riverpod. I've just been helped with some code to use a countdown clock that can then be viewed on multiple pages u ...
I'm new to flutter and very new to riverpod. I've just been helped with some code to use a countdown clock that can then be viewed on multiple pages u ...
How can we access a method from the being wrapped riverpod provider? ContentProvider can access user value from UserProvider by using "watch". There ...
I am using the riverpod_generator, and the AsyncNotifier in riverpod So when I am trying to logout the error will be occur it said Future alrea ...
I want to show CircularProgressIndicator while waiting for future to resolve using flutter_riverpod, here is my code snippet. But it's not showing, I ...
I am trying to learn Riverpod. This code uses , flutter_riverpod, and web_socket_channel. The app connects to a WebSocket server to a IP address and ...
I am working on my first flutter application and I have been facing a problem. I have a riverpod StreamProvider giving back a stream of objects that I ...
i am using am using flutter and retrofit with riverpod as a statemanagement but anytime i try to run my code it get uncaught and point to the generate ...
So I'm using this stateNotifierProvider in order to keep track of the selectedItem in this toggleButton, however even if the state of the notifier is ...
Hey I am building an app in flutter and when I run google sign in it gives me error that E/flutter (30710): [ERROR:flutter/runtime/dart_vm_initialize ...
I thought Riverpod will only trigger rebuild if the state value is different but turn out it rebuild every time when state is set although the value i ...
I want to automatically update user data, such as username or bio, whenever it changes. I was doing this with a StreamBuilder, but I found Riverpod an ...
Do you think it's okay to have a list of StateNotifiers inside the State of other StateNotifier? For example like this: I tried it and it seems to ...
Minimal reproducible code: StreamController<int> _streamController = StreamController(); final provider1 = StreamProvider<int?>((ref) { ...
I have a StreamProvider here: And I call it in my build method like so: The contacts.getContactInfo() method is an async and I need it to execut ...
This is my usecase: data is downloaded and it's used like this within widget's build method: user has option to refresh the data: ...
I been trying to understand how Riverpod works and was wondering how does it know when to destroy the state of a provider with the .autoDispose modifi ...
I just want to build a Provider which asks params only one and inits correctly. Since I am just passing params only once, I don't prefer to use .f ...
I've got a Stream<UserProfile> being returned form a firebase service. I'm using MVVM architecture and have a ProfileViewModel which is extende ...
I am using flutter_riverpod package. I want to convert ConsumerWidget to ConsumerStatefulWidget. However, it took me a lot of time to do it like thi ...
I use Riverpod as state management in my web app. I am trying to build an AppBar that scrolls automatically to certain parts of a ListView. I created ...