updateCallout method
- BarLabelCalloutStyle update(
- 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));