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