ClipperView constructor

const ClipperView({
  1. Key? key,
  2. required double width,
  3. required double height,
  4. required Color color,
  5. required ClipperShape shape,
  6. double elevation = 0.0,
  7. Color shadowColor = Colors.black,
  8. double starValleyRounding = 0.0,
  9. double starInnerRadiusRatio = 0.4,
  10. double starPointRounding = 0,
  11. double starPoints = 5,
  12. double starRotation = 0,
  13. double radius = 20,
  14. double eccentricity = 0.0,
  15. Clip clipBehavior = Clip.none,
  16. Widget? child,
  17. ShapeBorder? customShape,
  18. 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,
});