ZoomableDetails class

Contains details about the current zooming and panning action.

Constructors

ZoomableDetails({required Offset localFocalPoint, required Offset globalFocalPoint, required double previousZoomLevel, required double zoomLevel, required Rect previousAbsoluteBounds, required Rect absoluteBounds, required double scale, required Offset? scaleFocalPoint})
Creates a ZoomableDetails.

Properties

absoluteBounds Rect
Specifies the new rect for the current zooming.
final
globalFocalPoint Offset
The global focal point of the pointers in contact with the screen.
final
hashCode int
The hash code for this object.
no setterinherited
localFocalPoint Offset
The local focal point of the pointers in contact with the screen.
final
previousAbsoluteBounds Rect
Specifies the previous rect of the zoomable.
final
previousZoomLevel double
Provides the last zoom level which has been in zoomable.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
Specifies the current scale based on interaction.
final
scaleFocalPoint Offset?
Specified the center point which we have pinching currently.
final
zoomLevel double
Provides the new zoom level for the current zooming.
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