WIP: [paused] feat: add loading caption to providers in cards #416
|
@ -152,6 +152,15 @@ class _Card extends StatelessWidget {
|
||||||
status: state,
|
status: state,
|
||||||
icon: Icon(icon, size: 30, color: Colors.white),
|
icon: Icon(icon, size: 30, color: Colors.white),
|
||||||
),
|
),
|
||||||
|
if (state == StateType.uninitialized)
|
||||||
|
const SizedBox(
|
||||||
|
width: 24,
|
||||||
|
height: 24,
|
||||||
|
child: Icon(
|
||||||
|
Icons.access_time,
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
|
),
|
||||||
if (state != StateType.uninitialized)
|
if (state != StateType.uninitialized)
|
||||||
IconStatusMask(
|
IconStatusMask(
|
||||||
status: state,
|
status: state,
|
||||||
|
|
Loading…
Reference in New Issue