AndroidPointerProperties class

Properties of an Android pointer.

A Dart version of Android's MotionEvent.PointerProperties.

Constructors

AndroidPointerProperties({@required int id, @required int toolType })
Creates an AndroidPointerProperties. [...]
const

Properties

id → int
See Android's MotionEvent.PointerProperties#id.
final
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
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic 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