ScaleUpdateDetails class

Details for GestureScaleUpdateCallback.

Mixed-in types

Constructors

ScaleUpdateDetails.new({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

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited