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