startPath method
Starts new line at given point
.
Implementation
void startPath(Offset point) {
assert(!hasActivePath);
_activePath = CubicPath(
threshold: threshold,
smoothRatio: smoothRatio,
).._maxVelocity = velocityRange;
_activePath!.begin(point,
velocity: _paths.isNotEmpty ? _paths.last._currentVelocity : 0.0);
_paths.add(_activePath!);
}