clipContains method

  1. @override
bool clipContains(
  1. Offset offset,
  2. RRect clip
)

Returns whether the given offset is contained within the clip. This is used for hit testing and should be implemented by subclasses to match the shape of the clip.

Implementation

@override
bool clipContains(Offset offset, RRect clip) => clip.contains(offset);