updateCallout method

BarLabelStyle updateCallout(
  1. BarLabelCalloutStyle update(
    1. BarLabelCalloutStyle current
    )
)

Rebuilds BarLabelStyle.callout from its current value.

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

Implementation

BarLabelStyle updateCallout(
  BarLabelCalloutStyle Function(BarLabelCalloutStyle current) update,
) => copyWith(callout: update(callout));