DrawableRasterImage constructor

const DrawableRasterImage(
  1. String? id,
  2. Image image,
  3. Offset offset,
  4. DrawableStyle style, {
  5. Size? size,
  6. Float64List? transform,
})

Creates a new DrawableRasterImage.

Implementation

const DrawableRasterImage(
  this.id,
  this.image,
  this.offset,
  this.style, {
  this.size,
  this.transform,
})  : assert(image != null), // ignore: unnecessary_null_comparison
      assert(offset != null);