ImageLoader constructor

const ImageLoader(
  1. String uri, {
  2. Key? key,
  3. double? width,
  4. double? height,
  5. double radius = 0,
  6. bool circle = false,
  7. BoxFit fit = BoxFit.cover,
  8. BorderRadius? borderRadius,
  9. Color? bgColor,
  10. Color? foregroundColor,
  11. double? borderWidth,
  12. Color? borderColor,
  13. VoidCallback? onTap,
  14. Widget? placeholder,
  15. EdgeInsets? padding,
  16. bool blur = false,
  17. bool animated = false,
  18. Color? imageColor,
  19. BlendMode imageColorMode = BlendMode.srcIn,
})

Implementation

const ImageLoader(
  this.uri, {
  super.key,
  this.width,
  this.height,
  this.radius = 0,
  this.circle = false,
  this.fit = BoxFit.cover,
  this.borderRadius,
  this.bgColor,
  this.foregroundColor,
  this.borderWidth,
  this.borderColor,
  this.onTap,
  this.placeholder,
  this.padding,
  this.blur = false,
  this.animated = false,
  this.imageColor,
  this.imageColorMode = BlendMode.srcIn
});