ClipperView constructor
const
ClipperView({
- Key? key,
- required double width,
- required double height,
- required Color color,
- required ClipperShape shape,
- double elevation = 0.0,
- Color shadowColor = Colors.black,
- double starValleyRounding = 0.0,
- double starInnerRadiusRatio = 0.4,
- double starPointRounding = 0,
- double starPoints = 5,
- double starRotation = 0,
- double radius = 20,
- double eccentricity = 0.0,
- Clip clipBehavior = Clip.none,
- Widget? child,
- ShapeBorder? customShape,
- BorderSide side = BorderSide.none,
Implementation
const ClipperView({
super.key,
required this.width,
required this.height,
required this.color,
required this.shape,
this.elevation = 0.0,
this.shadowColor = Colors.black,
this.starValleyRounding = 0.0,
this.starInnerRadiusRatio = 0.4,
this.starPointRounding = 0,
this.starPoints = 5,
this.starRotation = 0,
this.radius = 20,
this.eccentricity = 0.0,
this.clipBehavior = Clip.none,
this.child,
this.customShape,
this.side = BorderSide.none,
});