DeviceGestureSettings class

The device specific gesture settings scaled into logical pixels.

This configuration can be retrieved from the window, or more commonly from a MediaQuery widget.

See also:

Annotations

Constructors

DeviceGestureSettings({double? touchSlop})
Create a new DeviceGestureSettings with configured settings in logical pixels.
const
DeviceGestureSettings.fromView(FlutterView view)
Create a new DeviceGestureSettings from the provided view.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
panSlop double?
The touch slop value for pan gestures, in logical pixels, or null if it was not set.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
touchSlop double?
The touch slop value in logical pixels, or null if it was not set.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override