DrawPath constructor

DrawPath({
  1. List<OperationStep>? steps,
  2. PathFillType? type,
  3. Path? path,
})

Implementation

DrawPath({
  List<OperationStep>? steps,
  PathFillType? type,
  Path? path,
})  : path = path ?? Path(),
      steps = steps ?? <OperationStep>[] {
  if (type != null) {
    this.path.fillType = type;
  }
}