AsyncValue.value now return null instead of throwing during loading state

fixes #270
This commit is contained in:
Remi Rousselet
2021-10-11 14:00:53 +01:00
parent 7b2f85ce4d
commit 02d2f52b30
4 changed files with 11 additions and 16 deletions

View File

@ -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(