RenderClipOval constructor Null safety

  1. {RenderBox? child,
  2. CustomClipper<Rect>? clipper,
  3. 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 argument must not be null. If clipBehavior is Clip.none, no clipping will be applied.


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