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