Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialise pdfController in setState() native_pdf_view #122

Open
maryus799 opened this issue Sep 28, 2020 · 0 comments
Open

initialise pdfController in setState() native_pdf_view #122

maryus799 opened this issue Sep 28, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@maryus799
Copy link

I'm noob in programming and maybe my request could be resolved. I need to open a document in a new page after i load data from previous page with ModalRoute.of(context).settings.arguments. I tried to initialise pdfController in build function with setState, but i have this error:
The getter 'pagesCount' was called on null.
Receiver: null
Tried calling: pagesCount

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants