套件概覽
一個純 Dart 庫,用於建立和解析具有進階格式、表格和清單的 DOCX 與 PDF 文件。設計為跨平台使用,可在 Android、iOS、Linux、macOS、Web 和 Windows 上運行,無需原生程式碼。非常適合以程式化方式產生報表、發票與動態文件。該庫支援豐富的文字樣式與結構化內容,讓開發者能輕鬆在 Flutter 應用中建構以文件為中心的功能。
適用情境
- 產生動態報告
- 創建發票和合約
- 匯出資料為 DOCX/PDF
- 建構文件範本
- 自動化文件工作流程
主要特色
- Supports DOCX and PDF output
- Rich text and table formatting
- Cross-platform compatibility
- No native dependencies
- Built-in list and section support
適合對象
- 需要文件產生的Flutter開發者
- 需要離線文件匯出的應用
- 具有報告需求的業務應用
- 具有內容匯出功能的教育工具
- Web 和移動應用中的統一文件處理
使用建議
- Limited to basic layout customization
- No support for complex headers/footers
- Performance may vary with large documents
- Requires careful handling of font embedding
- May need additional configuration for international text