drawDecorate method

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

Implementation

@override
void drawDecorate(Canvas canvas, Paint paint) {
  if (borderColor != null) {
    paint.color = borderColor!;
    paint.style = PaintingStyle.stroke;
    drawObject(canvas, paint);
  }
}