gestureSettings property
override
The gesture settings to use for this test.
Defaults to the value provided by FlutterView.gestureSettings. This can only be set in a test environment to emulate different view configurations. A standard FlutterView is not mutable from the framework.
See also:
- FlutterView.gestureSettings for the standard implementation
- resetGestureSettings to reset this value specifically
- reset to reset all test values for this view
Implementation
@override
GestureSettings get gestureSettings => _gestureSettings ?? _view.gestureSettings;
Implementation
set gestureSettings(GestureSettings value) {
_gestureSettings = value;
platformDispatcher.onMetricsChanged?.call();
}