ImageLoader constructor
const
ImageLoader(
- String uri, {
- Key? key,
- double? width,
- double? height,
- double radius = 0,
- bool circle = false,
- BoxFit fit = BoxFit.cover,
- BorderRadius? borderRadius,
- Color? bgColor,
- Color? foregroundColor,
- double? borderWidth,
- Color? borderColor,
- VoidCallback? onTap,
- Widget? placeholder,
- EdgeInsets? padding,
- bool blur = false,
- bool animated = false,
- Color? imageColor,
- 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
});