MotionEvent class

Constructors

MotionEvent({required MotionType type, double x = 0, double y = 0, double z = 0})
const
MotionEvent.zero({required MotionType type})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isZero bool
Convenience getter to detect empty motion events.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type MotionType
The type of motion described by this event.
final
x double
The event's x, y and z values.
final
y double
The event's x, y and z values.
final
z double
The event's x, y and z values.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited