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