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.
-
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/…androCoder-BD– androCoder-BD2022-03-10 15:38:15 +00:00Commented Mar 10, 2022 at 15:38
-
May be you can follow this stackoverflow.com/questions/62476108/…Yu Yu– Yu Yu2022-03-11 04:53:00 +00:00Commented 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.Sheikh Raj– Sheikh Raj2022-03-18 18:52:45 +00:00Commented Mar 18, 2022 at 18:52
Add a comment
|
1 Answer
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.
1 Comment
MOHAMMAD FUZAIL ZAMAN
Not supported on web?