clipPath method

Widget clipPath({
  1. Clip clipBehavior = Clip.antiAlias,
  2. required CustomClipper<Path> clipper,
})

Implementation

Widget clipPath(
    {Clip clipBehavior = Clip.antiAlias,
    required CustomClipper<Path> clipper}) {
  return ClipPath(
    clipBehavior: clipBehavior,
    clipper: clipper,
    child: this,
  );
}