binSaed / flutter_cached_pdfview

Enhanced PDF view for Flutter.
https://pub.dev/packages/flutter_cached_pdfview
MIT License
117 stars 67 forks source link

How to use controller options? #90

Closed farooq023 closed 1 year ago

farooq023 commented 1 year ago

I want to know how to use the controller options (getPageCount, getCurrentPage & setPage). The above functions are those which are mentioned on in pub.dev/packages/flutter_cached_pdfview page . For example if i want to jump to pg#5 of a pdf file, how can i use setPage function.

binSaed commented 1 year ago

U can find it in example folder

https://github.com/abdoosaed/flutter_cached_pdfview/blob/master/example/lib/main.dart