ClipOval constructor Null safety
- {Key? key,
- CustomClipper<
Rect> ? clipper, - Clip clipBehavior = Clip.antiAlias,
- Widget? child}
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.
Implementation
const ClipOval({
super.key,
this.clipper,
this.clipBehavior = Clip.antiAlias,
super.child,
}) : assert(clipBehavior != null);