HolePainter constructor

HolePainter({
  1. required Offset targetPosition,
  2. required Size targetSize,
  3. required double borderRadius,
})

Creates a hole painter.

targetPosition - Screen position of the target widget. targetSize - Size of the target widget. borderRadius - Border radius for rounded corners.

Implementation

HolePainter({
  required this.targetPosition,
  required this.targetSize,
  required this.borderRadius,
});