onZoomLevelChanged property
Called when the zoom level changes in SfPdfViewer.
Called in the following scenarios where the zoom level changes
- When pinch zoom is performed.
- When double tap zooming is performed.
- When
zoomLevel
property is changed.
The oldZoomLevel
and newZoomLevel
values in the PdfZoomDetails will
be updated
when the zoom level changes.
See also: PdfZoomDetails.
Implementation
final PdfZoomLevelChangedCallback? onZoomLevelChanged;