copyWith method
Creates a copy of this spec with the given fields replaced by the non-null parameter values.
Implementation
@override
ClipOvalModifierSpec copyWith({
CustomClipper<Rect>? clipper,
Clip? clipBehavior,
}) {
return ClipOvalModifierSpec(
clipper: clipper ?? this.clipper,
clipBehavior: clipBehavior ?? this.clipBehavior,
);
}