setupValue method
void
setupValue({
- required AnimationController controller,
- required Color color,
- required double startAngle,
- required double sweepAngle,
- Color? initialColor,
- double? initialStartAngle,
- double? initialSweepAngle,
- ChartGroupPieDataItem? oldItem,
Initialize animations.
Implementation
void setupValue({
required AnimationController controller,
required Color color,
required double startAngle,
required double sweepAngle,
Color? initialColor,
double? initialStartAngle,
double? initialSweepAngle,
ChartGroupPieDataItem? oldItem,
}) {
_value.setup(
color: color,
controller: controller,
initialColor: initialColor,
initialStartAngle: initialStartAngle,
initialSweepAngle: initialSweepAngle,
oldAnimation: oldItem?._value,
startAngle: startAngle,
sweepAngle: sweepAngle,
);
}