将现有的PDF文件打印在扑朔迷离中
我有一个pdf文件,我的flutter文件夹命名为:text.pdf
。
如何用按钮将此文件打印在颤音中?
I have a pdf file my flutter folder named : text.pdf
.
How can I print this file in Flutter with a button ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在pub.dev中使用
打印
软件包来帮助您。在您的按钮的
Onpressed
字段中,您可以执行此操作:You can use the
printing
package in pub.dev to help you out.Inside your button's
onPressed
field, you can do this: