ScaleUpdateDetails class

Details for GestureScaleUpdateCallback.

Constructors

ScaleUpdateDetails({Offset focalPoint: Offset.zero, double scale: 1.0, double rotation: 0.0 })
Creates details for GestureScaleUpdateCallback. [...]

Properties

focalPoint Offset
The focal point of the pointers in contact with the screen. Reported in global coordinates.
final
rotation double
The angle implied by the first two pointers to enter in contact with the screen. Expressed in radians.
final
scale double
The scale implied by the pointers in contact with the screen. A value greater than or equal to zero.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

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