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
@@ -146,7 +146,13 @@ class FeedCard extends HookConsumerWidget {
);
},
error: (error, stackTrace) => const Text('N/A'),
loading: () => const SizedBox.shrink(),
loading: () => const SizedBox(
height: 16,
width: 16,
child: Center(
child: CircularProgressIndicator(strokeWidth: 2),
),
),
);
},
),