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

Creates a render box that displays an image.

Source

RenderImage({
  ui.Image image,
  double width,
  double height,
  double scale: 1.0,
  Color color,
  ImageFit fit,
  FractionalOffset alignment,
  ImageRepeat repeat: ImageRepeat.noRepeat,
  Rect centerSlice
}) : _image = image,
    _width = width,
    _height = height,
    _scale = scale,
    _color = color,
    _fit = fit,
    _alignment = alignment,
    _repeat = repeat,
    _centerSlice = centerSlice {
  _updateColorFilter();
}