MoveDetails class
The pointer has moved with respect to the device while the pointer is in contact with the device.
See also:
- MoveDetector.onUpdate, which allows callers to be notified of these movement in a widget tree.
- MoveDetector.onStart, which allows callers to be notified for the first time this move occurs
- MoveDetector.onEnd, which allows callers to be notified after the last move occurs.
Constructors
- MoveDetails({required Offset localPosition, required Offset position, required Offset localDelta, required Offset delta})
-
const
Properties
- delta → Offset
-
Distance in logical pixels that the pointer moved since the last
MoveEvent
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- localDelta → Offset
-
The delta transformed into the event receiver's local coordinate
system.
final
- localPosition → Offset
-
The position transformed into the event receiver's local coordinate
system.
final
- position → Offset
-
Coordinate of the position of the pointer, in logical pixels in the global
coordinate space.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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