Skip to main content
Stack Overflow
  1. About
  2. For Teams

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Bottom Navigation Bar manages the index with Provider, and the code of Bottom Navigation Bar is written as below. I have a total of 5 icons and I just click on the second icon, but the color changes ...
2 votes
1 answer
99 views

I'm very new to Riverpod and I'm implementing a login/logout flow using AsyncNotifier. I fetch the user profile after login and show the username on the home screen. The issue is: When I logout, the ...
3 votes
1 answer
184 views

Unhandled Exception: Cannot use the Ref of noteControllerProvider after it has been disposed. This typically happens if: A provider rebuilt, but the previous "build" was still pending and ...
Best practices
0 votes
3 replies
105 views

I always struggle to hook up Controllers with Riverpod NotifierProvider. For example, TextEditingController, MapController or in this case I need to hook it up with TreeController from the ...
0 votes
1 answer
64 views

I'm experiencing an issue where my Flutter app redirects users to the home page after a successful 401 token refresh, instead of keeping them on their current route. This happens when using GoRouter ...
1 vote
1 answer
142 views

I am trying to migrate to Riverpod 3.0.0. It says that now Listeners inside widgets that are not visible are now paused. I have the following setup: Page A: showing some data and an 'edit'-Button and ...
progNewbie's user avatar
  • 4,972
0 votes
0 answers
108 views

I'm building a Flutter app using Riverpod for state management. I have a SplashScreen that checks for both network connectivity and user authentication status. The SplashScreen should display ...
0 votes
0 answers
45 views

I am learning flutter riverpod state management. For example say I have a class extending AsyncNotifier class. The state.value is a class object which may include list of another class as its property....
0 votes
1 answer
39 views

The Widgets are not rebuilding when the state changes through button click, I am using a button click to update the state from the App Bar, the value is getting changed in state but not reflecting in ...
Midlaj Nazar's user avatar
0 votes
0 answers
45 views

I'm using Riverpod 2.6.1 with code generation (@riverpod annotation). My provider's build method makes an API call, but it executes twice when the app starts, causing duplicate network requests. This ...
0 votes
0 answers
249 views

I am using Flutter 3.29.0, and I am using this package: universal_html 2.2.4 because import 'dart:html'; is deprecated: dart:html The dart:html library is deprecated. Instead, use dart:js_interop and ...
DevQt's user avatar
  • 1,974
0 votes
1 answer
83 views

My Ref.listen is not working. It's not showing the dialogs I want it to show. It's not showing Any dialog. I only see the the logs. Firebase should be initialized istener should work Dismissed loading ...
1 vote
1 answer
83 views

Firstly, I have a class with extends StateNotifier<bool> named ButtonStateNotifier: class ButtonStateNotifier extends StateNotifier<bool> { ButtonStateNotifier() : super(true); void ...
DevQt's user avatar
  • 1,974
1 vote
0 answers
39 views

import 'package:dart_frog/dart_frog.dart'; import 'package:riverpod/riverpod.dart'; Handler middleware(Handler handler) { return handler .use(provider<ProviderContainer>((context) =>...
Andrii's user avatar
  • 21
0 votes
0 answers
89 views

I'm building a Flutter app using infinite_scroll_pagination v5.x and Riverpod for state management. I want to implement infinite scroll with a paginated API and also support pull-to-refresh that ...

15 30 50 per page
1
2 3 4 5
...
109

AltStyle によって変換されたページ (->オリジナル) /