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.

PointerChange()
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.

PointerChange()
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.

PointerChange()
hover → const PointerChange

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

PointerChange()
down → const PointerChange

The pointer has made contact with the device.

PointerChange()
move → const PointerChange

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

PointerChange()
up → const PointerChange

The pointer has stopped making contact with the device.

PointerChange()
panZoomStart → const PointerChange

A pan/zoom has started on this pointer.

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

PointerChange()
panZoomUpdate → const PointerChange

The pan/zoom on this pointer has updated.

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

PointerChange()
panZoomEnd → const PointerChange

The pan/zoom on this pointer has ended.

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

PointerChange()

Properties

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

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]