load method

Image load({
  1. double? width,
  2. double? height,
  3. Color? color,
  4. BoxFit? fit,
})

Implementation

Image load({double? width, double? height, Color? color, BoxFit? fit}) {
  return Image.asset(
    'assets/$name.${extension.name}',
    width: width,
    height: height,
    color: color,
    fit: fit,
    package: _pkgName,
  );
}