imageDefault static method

Image imageDefault({
  1. String asset = 'assets/images/ic_default.png',
  2. BoxFit fit = BoxFit.fill,
  3. double? width,
})

Implementation

static Image imageDefault({String asset = 'assets/images/ic_default.png',
  BoxFit fit = BoxFit.fill, double? width}) => Image.asset(asset, fit: fit, scale: 0.5, width: width);