OvalDrawable constructor
OvalDrawable({})
Creates a new OvalDrawable with the given size
and paint
.
Implementation
OvalDrawable({
Paint? paint,
required Size size,
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,
}) : paint = paint ?? ShapeDrawable.defaultPaint,
super(
size: size,
position: position,
rotationAngle: rotationAngle,
scale: scale,
assists: assists,
assistPaints: assistPaints,
locked: locked,
hidden: hidden);