updatePathAnimation method
- PathAnimationStyle update(
- PathAnimationStyle current
Rebuilds AreaChartSeries.pathAnimation from its current value.
update receives the current PathAnimationStyle and returns the replacement, so
nested configuration is edited without re-stating the enclosing config.
Implementation
AreaChartSeries updatePathAnimation(
PathAnimationStyle Function(PathAnimationStyle current) update,
) => copyWith(pathAnimation: update(pathAnimation));