PointerChange enum Null safety

How the pointer has changed since the last report.

Constants

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)
cancel → const PointerChange

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

const PointerChange(0)
down → const PointerChange

The pointer has made contact with the device.

const PointerChange(4)
hover → const PointerChange

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

const PointerChange(3)
move → const PointerChange

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

const PointerChange(5)
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)
up → const PointerChange

The pointer has stopped making contact with the device.

const PointerChange(6)
values → const List<PointerChange>

A constant List of the values in this enum, in order of their declaration.

const List<PointerChange>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
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. [...]
override

Operators

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