Return empty widget in case there's no icon
This commit is contained in:
parent
51da1ab4c7
commit
400de2d20e
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class IconUtils {
|
|||
_customIcons[title]!,
|
||||
);
|
||||
} else {
|
||||
return Text(title);
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue