ExtendedRawImage constructor

const ExtendedRawImage({
  1. Key? key,
  2. Image? image,
  3. double? width,
  4. double? height,
  5. double scale = 1.0,
  6. Color? color,
  7. BlendMode? colorBlendMode,
  8. BoxFit? fit,
  9. AlignmentGeometry alignment = Alignment.center,
  10. ImageRepeat repeat = ImageRepeat.noRepeat,
  11. Rect? centerSlice,
  12. bool matchTextDirection = false,
  13. bool invertColors = false,
  14. FilterQuality filterQuality = FilterQuality.low,
  15. Rect? sourceRect,
  16. BeforePaintImage? beforePaintImage,
  17. AfterPaintImage? afterPaintImage,
  18. GestureDetails? gestureDetails,
  19. EditActionDetails? editActionDetails,
  20. bool isAntiAlias = false,
})

Creates a widget that displays an image.

The scale, alignment, repeat, matchTextDirection and filterQuality arguments must not be null.

Implementation

const ExtendedRawImage({
  Key? key,
  this.image,
  this.width,
  this.height,
  this.scale = 1.0,
  this.color,
  this.colorBlendMode,
  this.fit,
  this.alignment = Alignment.center,
  this.repeat = ImageRepeat.noRepeat,
  this.centerSlice,
  this.matchTextDirection = false,
  this.invertColors = false,
  this.filterQuality = FilterQuality.low,
  this.sourceRect,
  this.beforePaintImage,
  this.afterPaintImage,
  this.gestureDetails,
  this.editActionDetails,
  this.isAntiAlias = false,
}) : super(key: key);