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