updateTooltipStyle method

InteractionTheme updateTooltipStyle(
  1. LabelStyle update(
    1. LabelStyle current
    )
)

Rebuilds InteractionTheme.tooltipStyle from its current value.

update receives the current LabelStyle and returns the replacement, so nested configuration is edited without re-stating the enclosing config.

Implementation

InteractionTheme updateTooltipStyle(
  LabelStyle Function(LabelStyle current) update,
) => copyWith(tooltipStyle: update(tooltipStyle));