mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-03-14 02:34:07 +00:00
feat: add load animation to providers screen
This commit is contained in:
parent
d7bf6a0c06
commit
ed7eb3ad29
1 changed files with 9 additions and 0 deletions
|
@ -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<Color>(Colors.white),
|
||||
),
|
||||
),
|
||||
if (state != StateType.uninitialized)
|
||||
IconStatusMask(
|
||||
status: state,
|
||||
|
|
Loading…
Add table
Reference in a new issue