drawObject method

  1. @override
void drawObject(
  1. Canvas canvas,
  2. Paint paint
)
override

Implementation

@override
void drawObject(Canvas canvas, Paint paint) {
  canvas.drawOval(
      Rect.fromPoints(
        location,
        location.translate(size.width, size.height),
      ),
      paint);
}