ClipRSuperellipse constructor

const ClipRSuperellipse({
  1. Key? key,
  2. BorderRadiusGeometry borderRadius = BorderRadius.zero,
  3. CustomClipper<RSuperellipse>? clipper,
  4. Clip clipBehavior = Clip.antiAlias,
  5. Widget? child,
})

Creates a rounded-superellipse clip.

The borderRadius defaults to BorderRadius.zero, i.e. a rectangle with right-angled corners.

If clipBehavior is Clip.none, no clipping will be applied.

Implementation

const ClipRSuperellipse({
  super.key,
  this.borderRadius = BorderRadius.zero,
  this.clipper,
  this.clipBehavior = Clip.antiAlias,
  super.child,
});