From ed7eb3ad296835ed0f7c7d3a03b25ab6aa871f23 Mon Sep 17 00:00:00 2001 From: dettlaff Date: Thu, 28 Dec 2023 02:53:34 +0400 Subject: [PATCH] feat: add load animation to providers screen --- lib/ui/pages/providers/providers.dart | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/ui/pages/providers/providers.dart b/lib/ui/pages/providers/providers.dart index 5b2285f3..4626de8b 100644 --- a/lib/ui/pages/providers/providers.dart +++ b/lib/ui/pages/providers/providers.dart @@ -152,6 +152,15 @@ class _Card extends StatelessWidget { status: state, icon: Icon(icon, size: 30, color: Colors.white), ), + if (state == StateType.uninitialized) + const SizedBox( + width: 24, + height: 24, + child: CircularProgressIndicator( + valueColor: + AlwaysStoppedAnimation(Colors.white), + ), + ), if (state != StateType.uninitialized) IconStatusMask( status: state,