PathPainter constructor
PathPainter(
- Animation<
double> animation, - List<
PathSegment> pathSegments, - Size? customDimensions,
- List<
Paint> paints, - PaintedSegmentCallback onFinishCallback,
- bool scaleToViewport,
- DebugOptions debugOptions,
Implementation
PathPainter(
this.animation,
this.pathSegments,
this.customDimensions,
this.paints,
this.onFinishCallback,
this.scaleToViewport,
this.debugOptions)
: canPaint = false,
super(repaint: animation) {
calculateBoundingBox();
}