|
|
@ -25,9 +25,14 @@ class DashboardWidgetItem extends StatelessWidget { |
|
|
|
dimension: largeIconSize, |
|
|
|
dimension: largeIconSize, |
|
|
|
child: NeonImageWrapper( |
|
|
|
child: NeonImageWrapper( |
|
|
|
borderRadius: roundIcon ? BorderRadius.circular(largeIconSize) : null, |
|
|
|
borderRadius: roundIcon ? BorderRadius.circular(largeIconSize) : null, |
|
|
|
child: NeonUrlImage( |
|
|
|
child: item.iconUrl.isNotEmpty |
|
|
|
|
|
|
|
? NeonUrlImage( |
|
|
|
url: item.iconUrl, |
|
|
|
url: item.iconUrl, |
|
|
|
size: const Size.square(largeIconSize), |
|
|
|
size: const Size.square(largeIconSize), |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
: Icon( |
|
|
|
|
|
|
|
Icons.question_mark, |
|
|
|
|
|
|
|
color: Theme.of(context).colorScheme.error, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
); |
|
|
|
); |
|
|
|