isInMainRect method

bool isInMainRect(
  1. Offset point
)

Whether the point is in the SecondaryRect Whether the point is in MainRect

Implementation

// bool isInSecondaryRect(Offset point) {
//   // return mSecondaryRect.contains(point) == true);
//   return false;
// }

/// Whether the point is in MainRect
bool isInMainRect(Offset point) {
  return mMainRect.contains(point);
}