themedAsset method
Widget
themedAsset(
- String icon, {
- required WidgetSize size,
- Color? color,
- BoxFit fit = BoxFit.contain,
Implementation
Widget themedAsset(String icon, {required WidgetSize size, Color? color, BoxFit fit = BoxFit.contain}) {
return _loadAsset('$prefix/${DI.theme().currentTheme.name}/$icon', size: size, color: color, fit: fit);
}