StoryPainterControl constructor

StoryPainterControl(
  1. {double threshold = 3.0,
  2. double smoothRatio = 0.65,
  3. double velocityRange = 2.0,
  4. double width = 1.0,
  5. Color color = Colors.black,
  6. Function? onDrawStart,
  7. Function? onDrawEnd,
  8. PainterDrawType type = PainterDrawType.shape}
)

Implementation

StoryPainterControl({
  this.threshold: 3.0,
  this.smoothRatio: 0.65,
  this.velocityRange: 2.0,
  this.width = 1.0,
  this.color: Colors.black,
  this.onDrawStart,
  this.onDrawEnd,
  this.type = PainterDrawType.shape,
});