PdfPageChangedDetails constructor
Creates details for SfPdfViewer.onPageChanged callback.
Implementation
PdfPageChangedDetails(int newPage, int oldPage, bool isFirst, bool isLast) {
_newPageNumber = newPage;
_oldPageNumber = oldPage;
_isFirstPage = isFirst;
_isLastPage = isLast;
}