clipsWithBoundingRRect function

Matcher clipsWithBoundingRRect({
  1. required BorderRadius borderRadius,
})

Asserts that a Finder locates a single object whose root RenderObject is a RenderClipRRect with no clipper set, and border radius equals to borderRadius, or an equivalent RenderClipPath.

Implementation

Matcher clipsWithBoundingRRect({ required BorderRadius borderRadius }) {
  return _ClipsWithBoundingRRect(borderRadius: borderRadius);
}