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