configAssetImage static method

Image configAssetImage(
  1. dynamic type, {
  2. double? w,
  3. double? h,
  4. BoxFit? fit,
  5. String format = 'png',
})

Implementation

static Image configAssetImage(dynamic type,
    {double? w, double? h, BoxFit? fit, String format = 'png'}) {
  return Image.asset(
    configImagePath(type),
    width: w,
    height: h,
    fit: fit,
  );
}