FastAnimatedPieGraphPainter constructor
FastAnimatedPieGraphPainter({})
Implementation
FastAnimatedPieGraphPainter({
required this.animation,
this.backgroundColor = Colors.white,
this.borderColor = Colors.white,
this.backgroundOpacity = 1.0,
this.borderOpacity = 1.0,
this.borderWidth = 1.0,
}) : super(repaint: animation) {
_backgroundColor = backgroundColor.withOpacity(backgroundOpacity);
_borderColor = borderColor.withOpacity(borderOpacity);
_sweepAngle = pi / 2;
}