isInMainRect method

bool isInMainRect(
  1. Offset point
)

点是否在MainRect中

Implementation

bool isInMainRect(Offset point) {
  return mMainRect.contains(point);
}