This is a repository for pdf generating、previwing in fis system. Currently it is only serves for report module
|
il y a 11 mois | |
---|---|---|
.vscode | il y a 2 ans | |
android | il y a 2 ans | |
assets | il y a 1 an | |
ios | il y a 2 ans | |
lib | il y a 11 mois | |
test | il y a 2 ans | |
web | il y a 1 an | |
windows | il y a 1 an | |
.gitignore | il y a 2 ans | |
.metadata | il y a 2 ans | |
README.md | il y a 2 ans | |
analysis_options.yaml | il y a 2 ans | |
pubspec.lock | il y a 1 an | |
pubspec.yaml | il y a 1 an |
Flyinsono 的PDF flutter生成器
基于 pdf 3.8.1
目前具有以下功能
如需调用PDF的预览、或者直接生成、直接打印、直接下载,请调用pdf的容器的F组件,如下:
FPDFRenderContainer
参数说明:
{
pdfTypeEnum:PDF类型枚举,json报告类型、贴图类型、二进制类型
demoMode:是否为demo模式,demo模式下会有一些非生产环境下的测试行为。
pdfAccessTypeEnum:pdf用途枚举:单纯预览、直接打印、直接下载
pdfExporter:导出回调函数
cacheSave:缓存pdf或缓存其他资源的回调函数
cacheGet:下获取缓存资源的回调函数
fromEditor:是否来自编辑器
webSideShare:是否为web端分享行为
fileName = "document.pdf":pdf文件名
useActionBar = true:是否使用操作栏
jpgReports:jpg报告token数组
onClose:关闭回调事件
}