SimpleClipPath constructor

const SimpleClipPath({
  1. ClipPathType type = ClipPathType.ROUNDED_DOWN,
  2. double radius = 20.0,
  3. double topLeftPercentOfHeight = 0.0,
  4. double bottomLeftPercentOfHeight = 100.0,
  5. double topRightPercentOfHeight = 0.0,
  6. double bottomRightPercentOfHeight = 100.0,
})

Implementation

const SimpleClipPath({
  this.type = ClipPathType.ROUNDED_DOWN,
  this.radius = 20.0,
  this.topLeftPercentOfHeight = 0.0,
  this.bottomLeftPercentOfHeight = 100.0,
  this.topRightPercentOfHeight = 0.0,
  this.bottomRightPercentOfHeight = 100.0
});