clipPath method

ClipPath clipPath({
  1. Key? key,
  2. BorderRadius borderRadius = BorderRadius.zero,
  3. CustomClipper<Path>? clipper,
  4. Clip clipBehavior = Clip.antiAlias,
})

Implementation

ClipPath clipPath({
  Key? key,
  BorderRadius borderRadius = BorderRadius.zero,
  CustomClipper<Path>? clipper,
  Clip clipBehavior = Clip.antiAlias,
}) {
  return ClipPath(
    key: key,
    clipper: clipper,
    clipBehavior: clipBehavior,
    child: this,
  );
}