WImage constructor

const WImage({
  1. Key? key,
  2. required ImageProvider<Object> image,
  3. String? className,
  4. double? width,
  5. double? height,
  6. BoxFit? fit,
  7. AlignmentGeometry alignment = Alignment.center,
  8. ImageRepeat repeat = ImageRepeat.noRepeat,
  9. Color? color,
  10. BlendMode? colorBlendMode,
  11. FilterQuality filterQuality = FilterQuality.low,
  12. BorderRadius? borderRadius,
  13. List<BoxShadow>? boxShadow,
  14. 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,
});