getPage method
Get the page.
If the controller is not ready(isReady), the property throws an exception.
Implementation
PdfPage? getPage(int pageNumber) {
var pages = _state?._pages ?? [];
if (pages.isEmpty) {
return null;
}
return pages[pageNumber - 1].pdfPage;
}