RenderClipOval constructor

RenderClipOval({RenderBox child, CustomClipper<Rect> clipper, Clip clipBehavior: Clip.antiAlias })

Creates an oval-shaped clip.

If clipper is null, the oval will be inscribed into the layout size and position of the child.

The clipBehavior cannot be Clip.none.

Implementation

RenderClipOval({
  RenderBox child,
  CustomClipper<Rect> clipper,
  Clip clipBehavior = Clip.antiAlias,
}) : assert(clipBehavior != Clip.none), super(child: child, clipper: clipper, clipBehavior: clipBehavior);