-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
UXVisual improvements or fixesVisual improvements or fixesenhancementEnhancement, improvement, or refactor of featureEnhancement, improvement, or refactor of feature
Description
In the cases
- waiting
- error
the study status card could be improved. When waiting there is an empty containier, which makes the ui jump up and down and when an error an ugly text string is shown. This can be improved - the code is here
builder: (context, snapshot) {
if (snapshot.connectionState == ConnectionState.waiting) {
return Container();
} else if (snapshot.hasError) {
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 22),
child: Text('Error: ${snapshot.error}'),
); // Show an error message if t
Metadata
Metadata
Labels
UXVisual improvements or fixesVisual improvements or fixesenhancementEnhancement, improvement, or refactor of featureEnhancement, improvement, or refactor of feature