Returns true if point lies inside rect.
point
rect
bool hitTestRect(Offset point, Rect rect) { return rect.contains(point); }