gestureSettings property

  1. @override
GestureSettings get gestureSettings
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:

Implementation

@override
GestureSettings get gestureSettings => _gestureSettings ?? _view.gestureSettings;
set gestureSettings (GestureSettings value)

Implementation

set gestureSettings(GestureSettings value) {
  _gestureSettings = value;
  platformDispatcher.onMetricsChanged?.call();
}