AndroidPointerProperties class Null safety

Properties of an Android pointer.

A Dart version of Android's MotionEvent.PointerProperties.

Constructors

AndroidPointerProperties({required int id, required int toolType})
Creates an AndroidPointerProperties object.
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
id int
See Android's MotionEvent.PointerProperties#id.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
toolType int
The type of tool used to make contact such as a finger or stylus, if known. See Android's MotionEvent.PointerProperties#toolType.
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.
inherited

Constants

kToolTypeEraser → const int
Value for toolType when the tool type is an eraser.
4
kToolTypeFinger → const int
Value for toolType when the tool type is a finger.
1
kToolTypeMouse → const int
Value for toolType when the tool type is a mouse.
3
kToolTypeStylus → const int
Value for toolType when the tool type is a stylus.
2
kToolTypeUnknown → const int
Value for toolType when the tool type is unknown.
0