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 object.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
See Android's MotionEvent.PointerProperties#id.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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 nonexistent 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.
kToolTypeFinger → const int
Value for toolType when the tool type is a finger.
kToolTypeMouse → const int
Value for toolType when the tool type is a mouse.
kToolTypeStylus → const int
Value for toolType when the tool type is a stylus.
kToolTypeUnknown → const int
Value for toolType when the tool type is unknown.