configImageasset static method

Image configImageasset(
  1. String path,
  2. double? width,
  3. double? height, {
  4. String accets = '',
  5. BoxFit fit = BoxFit.none,
})

Implementation

static Image configImageasset(String path, double? width, double? height,
    {String accets = '', BoxFit fit = BoxFit.none}) {
  return Image.asset(
    path,
    width: width,
    height: height,
    fit: fit,
  );
}