onPaint method

  1. @override
void onPaint(
  1. Canvas canvas
)
override

Draws the crosshair.

Implementation

@override
void onPaint(Canvas canvas) {
  if (_crosshairPainter != null) {
    _crosshairPainter!._drawCrosshair(canvas);
  }
}