ScaleUpdateDetails class

Details for GestureScaleUpdateCallback.

Constructors

ScaleUpdateDetails({Offset focalPoint = Offset.zero, Offset? localFocalPoint, double scale = 1.0, double horizontalScale = 1.0, double verticalScale = 1.0, double rotation = 0.0, int pointerCount = 0, Offset focalPointDelta = Offset.zero, Duration? sourceTimeStamp})
Creates details for GestureScaleUpdateCallback.

Properties

focalPoint Offset
The focal point of the pointers in contact with the screen.
final
focalPointDelta Offset
The amount the gesture's focal point has moved in the coordinate space of the event receiver since the previous update.
final
hashCode int
The hash code for this object.
no setterinherited
horizontalScale double
The scale implied by the average distance along the horizontal axis between the pointers in contact with the screen.
final
localFocalPoint Offset
The focal point of the pointers in contact with the screen.
final
pointerCount int
The number of pointers being tracked by the gesture recognizer.
final
rotation double
The angle implied by the first two pointers to enter in contact with the screen.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
The scale implied by the average distance between the pointers in contact with the screen.
final
sourceTimeStamp Duration?
Recorded timestamp of the source pointer event that triggered the scale event.
final
verticalScale double
The scale implied by the average distance along the vertical axis between the pointers in contact with the screen.
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.
inherited