clipPath method
Widget
clipPath({
- required CustomClipper<
Path> clipper, - Key? key,
- Clip clipBehavior = Clip.antiAlias,
A widget that clips its child using a path.
Implementation
Widget clipPath({
required CustomClipper<Path> clipper,
Key? key,
Clip clipBehavior = Clip.antiAlias,
}) {
return ClipPath(
key: key,
clipper: clipper,
clipBehavior: clipBehavior,
child: this,
);
}