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