1

I am working on a iOS/Android/Web app where I am getting a PDF url from server.I want to preview pdf on flutter web in Flutter web but I am not able to preview it from url.

3
  • why don't you open the pdf link on a browser instead (for android/ios) or new tab (if web). please follow this to do the same for web: stackoverflow.com/questions/16925481/… Commented Mar 10, 2022 at 15:38
  • May be you can follow this stackoverflow.com/questions/62476108/… Commented Mar 11, 2022 at 4:53
  • @androCoder-BD if i will use it in new tab with url it will expose the link which i don't want . However, I found my solution for that i used syncfusion_flutter_pdfviewer library by using this library i can open pdf from url. Commented Mar 18, 2022 at 18:52

1 Answer 1

1

take a look at this package pdf flutter package It is a complete PDF package/solution for flutter. But you just need to look at the viewing part. See their example. Supports all the platforms.

Sign up to request clarification or add additional context in comments.

1 Comment

Not supported on web?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.