getIcon method
Implementation
Widget getIcon() {
if (icon == null) return const SizedBox.shrink();
return UFUIcon(
icon!,
size: iconSize,
color: color ?? AppTheme.themeColors.text,
);
}
Widget getIcon() {
if (icon == null) return const SizedBox.shrink();
return UFUIcon(
icon!,
size: iconSize,
color: color ?? AppTheme.themeColors.text,
);
}