pageCount property

int get pageCount

Get total page count in the PDF document.

If the controller is not ready(isReady), the property throws some exception.

Implementation

int get pageCount => _state!._pages!.length;