improve asnyc loading and error widgets

This commit is contained in:
Fabian Freund
2026-02-05 15:53:48 +01:00
parent 42c8ad986c
commit c7f9d6ec12
15 changed files with 63 additions and 15 deletions
@@ -190,7 +190,7 @@ class FeedArticleListScreen extends HookConsumerWidget {
exception: error,
),
),
loading: () => const SizedBox.shrink(),
loading: () => const Center(child: CircularProgressIndicator()),
),
),
);
@@ -93,7 +93,7 @@ class FeedListScreen extends HookConsumerWidget {
},
),
),
loading: () => const SizedBox.shrink(),
loading: () => const Center(child: CircularProgressIndicator()),
),
floatingActionButton: FloatingActionButton.extended(
label: const Text('Feed'),