themedAsset method

Widget themedAsset(
  1. String icon, {
  2. required WidgetSize size,
  3. Color? color,
  4. 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);
}