PointerTransitionEvent class

Represents the pointer event for PointerTransition.

Constructors

PointerTransitionEvent({required Offset position, required double value, required Offset valueOffset, required bool isInsideBounds})
Creates a new PointerTransitionEvent with the given position, value, valueOffset, and isInsideBounds.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isInsideBounds bool
Whether the pointer device is inside the bounds of the widget.
final
position Offset
The position of the pointer device from the top left corner of the target.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
Defines the distance of the pointer device from the origin. A value of zero is when the pointer device is at the origin. A value of 1 or -1 is when the pointer device is at the farthest point from the origin.
final
valueOffset Offset
Defines the distance of the pointer device from the origin as an offset. A value offset of (0, 0) is when the pointer device is at the origin. A value offset of (1, 1) is when the pointer device is at the farthest point from the origin.
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