overRotatePoint method

RotatePoint? overRotatePoint(
  1. Offset mouseOffset
)

Implementation

RotatePoint? overRotatePoint(Offset mouseOffset) {
  return rotatePoints.firstWhereNullable((RotatePoint element) =>
      element.offset.distanceTo(mouseOffset) < reactSize);
}