ImageViewContent constructor

const ImageViewContent({
  1. Key? key,
  2. required String url,
  3. ImageType? imageType,
  4. double? size,
  5. double? height,
  6. double? width,
  7. EdgeInsets? imagePadding,
  8. BoxFit? fit,
  9. dynamic onTap()?,
  10. double? radius,
  11. Color? tintColor,
  12. EdgeInsets? margin,
  13. bool hasBorder = false,
  14. Color? borderColor,
  15. Color? bgColor,
  16. double? radiusWidth,
  17. EdgeInsets? padding,
  18. bool hasGradient = false,
  19. String? defaultImage,
  20. String? error,
})

Implementation

const ImageViewContent({
  super.key,
  required this.url,
  this.imageType,
  this.size,
  this.height,
  this.width,
  this.imagePadding,
  this.fit,
  this.onTap,
  this.radius,
  this.tintColor,
  this.margin,
  this.hasBorder = false,
  this.borderColor,
  this.bgColor,
  this.radiusWidth,
  this.padding,
  this.hasGradient = false,
  this.defaultImage,
  this.error,
});