PdfZoomDetails constructor

PdfZoomDetails(
  1. double newZoomLevel,
  2. double oldZoomLevel
)

Creates details for SfPdfViewer.onZoomLevelChanged callback.

Implementation

PdfZoomDetails(double newZoomLevel, double oldZoomLevel) {
  _newZoomLevel = newZoomLevel;
  _oldZoomLevel = oldZoomLevel;
}