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