toPath method

Path toPath({
  1. required double progress,
  2. Path? path,
  3. double startAngle = 0.0,
  4. bool repeatPath = false,
  5. bool closePath = true,
  6. double rotationPivotX = 0.0,
  7. double rotationPivotY = 0.0,
})

Implementation

Path toPath({
  required double progress,
  Path? path,
  double startAngle = 0.0,
  bool repeatPath = false,
  bool closePath = true,
  double rotationPivotX = 0.0,
  double rotationPivotY = 0.0,
}) => _pathFromCubics(
  path: path ?? Path(),
  startAngle: startAngle,
  repeatPath: repeatPath,
  closePath: closePath,
  cubics: asCubics(progress),
  rotationPivotX: rotationPivotX,
  rotationPivotY: rotationPivotY,
);