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. Animation<double>? opacity,
  8. BlendMode? colorBlendMode,
  9. BoxFit? fit,
  10. AlignmentGeometry alignment = Alignment.center,
  11. ImageRepeat repeat = ImageRepeat.noRepeat,
  12. Rect? centerSlice,
  13. bool matchTextDirection = false,
  14. bool invertColors = false,
  15. FilterQuality filterQuality = FilterQuality.low,
  16. Rect? sourceRect,
  17. BeforePaintImage? beforePaintImage,
  18. AfterPaintImage? afterPaintImage,
  19. GestureDetails? gestureDetails,
  20. EditActionDetails? editActionDetails,
  21. bool isAntiAlias = false,
  22. String? debugImageLabel,
  23. EdgeInsets layoutInsets = EdgeInsets.zero,
})

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.opacity,
  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,
  this.debugImageLabel,
  this.layoutInsets = EdgeInsets.zero,
}) : super(key: key);