path method

  1. @override
Path path(
  1. bool close
)
override

Implementation

@override
Path path(bool close) {
  if (close && _closePath != null) {
    return _closePath!;
  }
  if (!close && _openPath != null) {
    return _openPath!;
  }

  if (!close) {
    _openPath = arcOpen();
    return _openPath!;
  }
  _closePath = arc();
  return _closePath!;
}