mirror of
https://github.com/rrousselGit/riverpod.git
synced 2025-08-14 17:41:48 +08:00
AsyncValue.value now return null instead of throwing during loading state
fixes #270
This commit is contained in:
@ -182,7 +182,7 @@ class QuestionItem extends HookConsumerWidget {
|
||||
return const Center(child: Text('loading'));
|
||||
}
|
||||
|
||||
final data = question.value;
|
||||
final data = question.value!;
|
||||
|
||||
return ListTile(
|
||||
title: Text(
|
||||
|
Reference in New Issue
Block a user