PointerChange enum Null safety

How the pointer has changed since the last report.

Inheritance

Constructors

PointerChange()
const

Values

cancel → const PointerChange

The input from the pointer is no longer directed towards this receiver.

const PointerChange(0)
add → const PointerChange

The device has started tracking the pointer.

For example, the pointer might be hovering above the device, having not yet made contact with the surface of the device.

const PointerChange(1)
remove → const PointerChange

The device is no longer tracking the pointer.

For example, the pointer might have drifted out of the device's hover detection range or might have been disconnected from the system entirely.

const PointerChange(2)
hover → const PointerChange

The pointer has moved with respect to the device while not in contact with the device.

const PointerChange(3)
down → const PointerChange

The pointer has made contact with the device.

const PointerChange(4)
move → const PointerChange

The pointer has moved with respect to the device while in contact with the device.

const PointerChange(5)
up → const PointerChange

The pointer has stopped making contact with the device.

const PointerChange(6)
panZoomStart → const PointerChange

A pan/zoom has started on this pointer.

This type of event will always have kind PointerDeviceKind.trackpad.

const PointerChange(7)
panZoomUpdate → const PointerChange

The pan/zoom on this pointer has updated.

This type of event will always have kind PointerDeviceKind.trackpad.

const PointerChange(8)
panZoomEnd → const PointerChange

The pan/zoom on this pointer has ended.

This type of event will always have kind PointerDeviceKind.trackpad.

const PointerChange(9)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Constants

values → const List<PointerChange>
A constant List of the values in this enum, in order of their declaration.
[cancel, add, remove, hover, down, move, up, panZoomStart, panZoomUpdate, panZoomEnd]