AntdImage constructor

const AntdImage({
  1. Key? key,
  2. AntdImageStyle? style,
  3. AntdStyleBuilder<AntdImageStyle, AntdImage>? styleBuilder,
  4. double? height,
  5. double? width,
  6. required ImageProvider<Object> image,
  7. BoxFit? fit,
  8. double scale = 1.0,
  9. AlignmentGeometry alignment = Alignment.center,
  10. ImageRepeat repeat = ImageRepeat.noRepeat,
  11. FilterQuality filterQuality = FilterQuality.medium,
})

Implementation

const AntdImage({
  super.key,
  super.style,
  super.styleBuilder,
  this.height,
  this.width,
  required this.image,
  this.fit,
  this.scale = 1.0,
  this.alignment = Alignment.center,
  this.repeat = ImageRepeat.noRepeat,
  this.filterQuality = FilterQuality.medium,
});