ExtendedRawImage constructor
const
ExtendedRawImage({
- Key? key,
- Image? image,
- double? width,
- double? height,
- double scale = 1.0,
- Color? color,
- Animation<
double> ? opacity, - BlendMode? colorBlendMode,
- BoxFit? fit,
- AlignmentGeometry alignment = Alignment.center,
- ImageRepeat repeat = ImageRepeat.noRepeat,
- Rect? centerSlice,
- bool matchTextDirection = false,
- bool invertColors = false,
- FilterQuality filterQuality = FilterQuality.low,
- Rect? sourceRect,
- BeforePaintImage? beforePaintImage,
- AfterPaintImage? afterPaintImage,
- GestureDetails? gestureDetails,
- EditActionDetails? editActionDetails,
- bool isAntiAlias = false,
- String? debugImageLabel,
- 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);