drawHighlight method

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

Implementation

@override
void drawHighlight(Canvas canvas, Paint paint) {
  if (isHighlight || isSelected) {
    paint.style = PaintingStyle.stroke;
    paint.color = Colors.blue;
    drawObject(canvas, paint);
  }
}