RawImage({Key key, Image image, double width, double height, double scale: 1.0, Color color, ImageFit fit, FractionalOffset alignment, ImageRepeat repeat: ImageRepeat.noRepeat, Rect centerSlice })

Creates a widget that displays an image.

The scale and repeat arguments must not be null.

Source

RawImage({
  Key key,
  this.image,
  this.width,
  this.height,
  this.scale: 1.0,
  this.color,
  this.fit,
  this.alignment,
  this.repeat: ImageRepeat.noRepeat,
  this.centerSlice
}) : super(key: key) {
  assert(scale != null);
  assert(repeat != null);
}