ImageDrawable constructor
ImageDrawable({})
Creates an ImageDrawable with the given image
.
Implementation
ImageDrawable({
required Offset position,
double rotationAngle = 0,
double scale = 1,
Set<ObjectDrawableAssist> assists = const <ObjectDrawableAssist>{},
Map<ObjectDrawableAssist, Paint> assistPaints =
const <ObjectDrawableAssist, Paint>{},
bool locked = false,
bool hidden = false,
required this.image,
this.flipped = false,
}) : super(
position: position,
rotationAngle: rotationAngle,
scale: scale,
assists: assists,
assistPaints: assistPaints,
hidden: hidden,
locked: locked);