CubicPath constructor

CubicPath({
  1. double threshold = 3.0,
  2. double smoothRatio = 0.65,
})

Line builder. threshold - Distance between two control points. smoothRatio - Ratio of line smoothing.

Implementation

CubicPath({
  this.threshold = 3.0,
  this.smoothRatio = 0.65,
});