zoomable_internal library

Classes

Zoomable
A widget which handles the zooming and panning with considering its bounds based on the zoomLevel and child size.
ZoomableController
A controller which handles the zoomLevel, and actual rect commonly across multiple widgets.
ZoomableDetails
Contains details about the current zooming and panning action.

Enums

ActionType
Specifies the current zoom pan action type.

Typedefs

ScaleCallback = void Function(double)
Signature for when zoom level change callback.
TranslationCallback = void Function(Rect)
Signature for when actual rect change callback.
ZoomableCompleteCallback = void Function(ZoomableDetails)
Signature for when the zooming and panning action has been completed.
ZoomableUpdateCallback = bool Function(ZoomableDetails)
Signature for when the zoom level or actual rect value changes get indicated.