onEditorZoomScaleUpdate property
Called when the user updates a pan or scale gesture on the editor.
At the time this is called, the TransformationController will have already been updated to reflect the change caused by the interaction, if the interaction caused the matrix to change.
The coordinates provided in the details' focalPoint
and
localFocalPoint
are normal Flutter event coordinates, not
InteractiveViewer scene coordinates. See
TransformationController.toScene for how to convert these coordinates to
scene coordinates relative to the child.
See also:
- onEditorZoomScaleStart, which handles the start of the same interaction.
- onEditorZoomScaleEnd, which handles the end of the same interaction.
Implementation
final GestureScaleUpdateCallback? onEditorZoomScaleUpdate;