DeviceGestureSettings class Null safety

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.fromWindow(FlutterView window)
Create a new DeviceGestureSettings from the provided window.
factory

Properties

hashCode int
The hash code for this object.
read-onlyoverride
panSlop double?
The touch slop value for pan gestures, in logical pixels, or null if it was not set.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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