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