TapEvent class
The pointer has made a move.
See also:
- XGestureDetector.onMoveUpdate, which allows callers to be notified of these events in a widget tree.
Constructors
- TapEvent.new(Offset localPos, Offset position, int pointer)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- localPos → Offset
-
The position transformed into the event receiver's local coordinate
system according to
transform
.final - pointer → int
-
Unique identifier for the pointer, not reused. Changes for each new
pointer down event.
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
Static Methods
-
from(
PointerEvent event) → dynamic