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