Document Viewer (How to view pdf and ppt) in flutter

3,976 views
Skip to first unread message

Teja Kumar

unread,
Apr 4, 2019, 4:27:58 AM4/4/19
to Flutter Dev
Hello,

I am new to flutter there is an requirement for me to view PDF and PPT (especially) in android application without using or opening any other document viewer apps. I need to show PDF and PPT file in my app not in third party apps.

Thank you.

Ryan Gonzalez

unread,
Apr 4, 2019, 1:06:45 PM4/4/19
to Teja Kumar, Flutter Dev
There are quite a few Flutter PDF viewer plugins: https://pub.dartlang.org/flutter/packages?q=pdf+view

PPT on the other hand may not be easily possible; it's a relatively complex format that few apps render with good accuracy. Maybe you could e.g. upload it to Drive then export as PDF using the APIs? 

--
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
https://refi64.com/

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jonah Greenthal

unread,
Apr 4, 2019, 4:11:51 PM4/4/19
to Flutter Dev
This is sort of cheating, and only works for PDFs that are on the internet and don't require authentication, but I "solved" this in my app by opening a webview with the Google Docs PDF viewer: https://docs.google.com/gview?embedded=true&url=URL-OF-THE-PDF-FILE
Reply all
Reply to author
Forward
0 new messages