ScaleUpdateDetails class Null safety

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})
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. [...]
read-only, inherited
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.
read-only, inherited
scale double
The scale implied by the average distance between the pointers in contact with the screen. [...]
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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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