clipPath method
Wrap a widget in ClipPath.
Implementation
ClipPath clipPath({
Key? key,
CustomClipper<Path>? clipper,
Clip clipBehavior = Clip.antiAlias,
}) {
return ClipPath(
key: key,
clipper: clipper,
clipBehavior: clipBehavior,
child: this,
);
}