binSaed / flutter_cached_pdfview

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

How to use controller options? #90

Closed farooq023 closed 2 years ago

farooq023 commented 2 years 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 2 years ago

U can find it in example folder

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