contains method

bool contains(
  1. Offset offset
)

Implementation

bool contains(Offset offset) {
  return rect.contains(offset);
}