ScaleEvent class
Two pointers has made contact with the device.
See also:
- XGestureDetector.onScaleUpdate, which allows callers to be notified of these events in a widget tree.
- Annotations
Constructors
- ScaleEvent.new(Offset focalPoint, double scale, double rotationAngle)
-
const
Properties
- focalPoint → Offset
-
the middle point between 2 pointers(causes by 2 touching fingers)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rotationAngle → double
-
the rotate angle in radians - using for rotate
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → double
-
The delta distances of 2 pointers between the current and the previous
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited