toSVGImage method
Implementation
Widget toSVGImage({
double? width,
double? height,
double? square,
Color? color,
}) =>
SvgPicture.asset(
'${GlobalConfig.svgAssetFolderPath}/$this',
width: square ?? width,
height: square ?? height,
colorFilter: color != null ? ColorFilter.mode(color, BlendMode.srcIn) : null,
);