updateInteractionTheme method

ChartTheme updateInteractionTheme(
  1. InteractionTheme update(
    1. InteractionTheme current
    )
)

Rebuilds ChartTheme.interactionTheme from its current value.

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

Implementation

ChartTheme updateInteractionTheme(
  InteractionTheme Function(InteractionTheme current) update,
) => copyWith(interactionTheme: update(interactionTheme));