DrawableRasterImage constructor
const
DrawableRasterImage(
- String? id,
- Image image,
- Offset offset,
- DrawableStyle style, {
- Size? size,
- 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);