calculateCurrentPageNumber property
Function to guess the current page number based on the visible rectangle and page layouts.
The function is used to override the default behavior to calculate the current page number.
Implementation
final PdfViewerCalculateCurrentPageNumberFunction? calculateCurrentPageNumber;