在Flutter中显示适用于iOS的PDF内联文件 [英] Show PDF Inline File for iOS in Flutter
问题描述
我正在开发一个专门针对iOS的flutter应用程序(在此阶段),我需要向其中添加PDF文件.问题是flutter没有显示PDF文件的本地方法(据我研究).
I am developing an App in flutter specifically for iOS (at this stage) and I need to add PDF file(s) to it. The problem is that flutter has no native way to display PDF files (as far as I researched).
从此 tread 看来,添加它应该不会太困难使用此插件对iOS设备提供PDF支持.但是,对于如何将其准确地集成到Flutter应用程序中,我仍然感到困惑.
From this tread it looks like it shouldn't it be too difficult to add PDF support to iOS devices using this plugin. However, I am still confused about how exactly to integrate it into my Flutter Application.
任何帮助将不胜感激!
推荐答案
当我为PDF查看器实现功能时,没有PDF插件.
When I was implementing the functionality for PDF viewer, there was no PDF plugin.
但是,很有趣的一个工作中的朋友发现,已经为Flutter实现了PDF查看器这里,我们最终使用了它.
However, funny enough a friend at work found out that there is already a PDF viewer implemented for Flutter here, which we ended up using.
注意:在撰写问题时,16.08尚无任何插件.提及的内容创建于30.08.
Note: At the time of writing the question, 16.08 there was not yet any plugin available. The mentioned was created on 30.08.
这篇关于在Flutter中显示适用于iOS的PDF内联文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!