WImage constructor
const
WImage({
- Key? key,
- required ImageProvider<
Object> image, - String? className,
- double? width,
- double? height,
- BoxFit? fit,
- AlignmentGeometry alignment = Alignment.center,
- ImageRepeat repeat = ImageRepeat.noRepeat,
- Color? color,
- BlendMode? colorBlendMode,
- FilterQuality filterQuality = FilterQuality.low,
- BorderRadius? borderRadius,
- List<
BoxShadow> ? boxShadow, - Border? border,
Implementation
const WImage({
super.key,
required this.image,
this.className,
this.width,
this.height,
this.fit,
this.alignment = Alignment.center,
this.repeat = ImageRepeat.noRepeat,
this.color,
this.colorBlendMode,
this.filterQuality = FilterQuality.low,
this.borderRadius,
this.boxShadow,
this.border,
});