intermediate

This commit is contained in:
Fabian Freund
2024-09-13 09:11:06 +02:00
parent 3b047b5d8a
commit 37d2c84d7f
155 changed files with 5666 additions and 1816 deletions
@@ -20,18 +20,12 @@ class BangIcon extends HookConsumerWidget {
enabled: bangAsync.isLoading,
child: SizedBox.square(
dimension: iconSize,
child: (bang.iconData != null)
? Image.memory(
bang.iconData!,
child: (bang.icon != null)
? RawImage(
image: bang.icon?.image.value,
height: iconSize,
width: iconSize,
fit: BoxFit.fill,
errorBuilder: (context, error, stackTrace) {
return Icon(
MdiIcons.web,
size: iconSize,
);
},
)
: Icon(
MdiIcons.web,