Closed d-apps closed 5 years ago
You don't need to create a new screen. Just launch the PDF from the onPressed
callback in the last widget (that navigates to PdfScreen
).
You can view the example here.
Going to close this, reopen if not solved.
Problem was solved, thank you.
I have a method to close the screen and to go back to previous screen but when I press back button I get a blackscreen and I this log in Run: D/jniPdfium( 7951): Destroy FPDF library.
I need to press back twice to go back to previous screen in my app, could you please help me with that?