ClipRectModifier constructor
const
ClipRectModifier({})
Creates a rectangular clip.
If clipper is null, the clip will match 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 ClipRectModifier({
super.key,
super.child,
super.modifierKey,
this.clipper,
this.clipBehavior = Clip.hardEdge,
});