StrokePoint constructor

const StrokePoint({
  1. required Offset position,
  2. double velocity = 0,
  3. double width = 0,
})

A sample at position.

Implementation

const StrokePoint({
  required this.position,
  this.velocity = 0,
  this.width = 0,
});