draw method

  1. @override
void draw(
  1. Canvas canvas,
  2. Size boardSize
)
override

Implementation

@override
void draw(Canvas canvas, Size boardSize) {
  final Paint paint = Paint()
    ..color = color
    ..strokeWidth = 2
    ..style = PaintingStyle.fill;
  drawObject(canvas, paint);
  drawDecorate(canvas, paint);
  drawHighlight(canvas, paint);
  drawInteractivePoint(canvas, paint);
}