MyAssetImageView constructor

MyAssetImageView(
  1. String? imgPath, {
  2. double? width,
  3. double? height,
  4. BoxFit? fit = BoxFit.contain,
  5. bool isOval = false,
  6. Color? color,
  7. double radius = 0.0,
  8. Function? onTap,
  9. bool? clickable,
  10. Color? bgColor,
  11. Color? svgColor,
  12. Function? onLongTap,
})

Implementation

MyAssetImageView(this.imgPath,
    {this.width,
    this.height,
    this.fit = BoxFit.contain,
    this.isOval = false,
    this.color,
    this.radius = 0.0,
    this.onTap,
    this.clickable,
    this.bgColor,
    this.svgColor,
    this.onLongTap});