Flutter Riverpod show CircularProgressIndicator while waiting for future ro resolve
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 am using ConsumerStatefulWidget is this right way to do it? ElevatedButton( onPressed: () { rejectResponse = ref…