newPathPainted method

bool newPathPainted(
  1. int currentPaintedPathIndex
)

Implementation

bool newPathPainted(int currentPaintedPathIndex) {
  return this.widget.onPaint != null &&
      currentPaintedPathIndex != -1 &&
      pathSegments[currentPaintedPathIndex].pathIndex - lastPaintedPathIndex >
          0;
}