const BackgroundImage({ImageProvider image, ImageFit fit, ImageRepeat repeat: ImageRepeat.noRepeat, Rect centerSlice, ColorFilter colorFilter, FractionalOffset alignment })

Creates a background image.

The image argument must not be null.

Source

const BackgroundImage({
  this.image,
  this.fit,
  this.repeat: ImageRepeat.noRepeat,
  this.centerSlice,
  this.colorFilter,
  this.alignment,
});