clipHalf method

ClipPath clipHalf({
  1. Clip clipBehavior = Clip.antiAlias,
})

Extension for creating a half shape using VxHalfClipper

Implementation

ClipPath clipHalf({Clip clipBehavior = Clip.antiAlias}) {
  return ClipPath(
    key: key,
    clipBehavior: clipBehavior,
    clipper: VxHalfClipper(),
    child: this,
  );
}