VirtualReferenceData class
Data produced by VirtualReferenceMiddleware after positioning.
- Annotations
Constructors
- VirtualReferenceData({required Offset virtualPosition, required Size virtualSize, required Offset appliedOffset, required Rect virtualRect})
-
Creates VirtualReferenceData.
const
Properties
- appliedOffset → Offset
-
The offset that was applied to move from the original child position
to the virtual reference position.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- virtualPosition → Offset
-
The position of the virtual reference point.
final
- virtualRect → Rect
-
The bounding rectangle of the virtual reference.
final
- virtualSize → Size
-
The size of the virtual reference (0x0 for point references).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override