ClipOvalModifier constructor

const ClipOvalModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. CustomClipper<Rect>? clipper,
  5. 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.

Implementation

const ClipOvalModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.clipper,
  this.clipBehavior = Clip.antiAlias,
});