Return empty widget in case there's no icon

This commit is contained in:
vishnukvmd 2023-08-18 08:50:24 +05:30
parent 51da1ab4c7
commit 400de2d20e

View file

@ -33,7 +33,7 @@ class IconUtils {
_customIcons[title]!,
);
} else {
return Text(title);
return const SizedBox.shrink();
}
}