CubicPath constructor

CubicPath(
  1. int id,
  2. dynamic width, {
  3. dynamic threshold = 3.0,
  4. dynamic smoothRatio = 0.65,
  5. dynamic color = Colors.black,
  6. PainterDrawType type = PainterDrawType.shape,
})

Implementation

CubicPath(
  this.id,
  this.width, {
  this.threshold: 3.0,
  this.smoothRatio: 0.65,
  this.color: Colors.black,
  this.type: PainterDrawType.shape,
});