MotionEvent class Null safety

Object used to report movement events.

Constructors

MotionEvent()

Properties

action int?
action.
read / write
dragIndex int?
drag index.
read / write
globalX double?
the global x coordinate system in logical pixels.
read / write
globalY double?
the global y coordinate system in logical pixels.
read / write
hashCode int
The hash code for this object.
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

actionDown → const int
0
actionMove → const int
2
actionUp → const int
1