nutrient-flutter-sdk
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNutrient Flutter SDK
Nutrient Flutter SDK
Flutter plugin wrapping the native Nutrient iOS and Android SDKs. Provides PDF viewing, annotation, form filling, and digital signing from a single Dart API, plus a real-time collaboration variant via Nutrient Instant.
一款封装了原生Nutrient iOS和Android SDK的Flutter插件。通过统一的Dart API提供PDF查看、批注、表单填写和数字签名功能,还支持通过Nutrient Instant实现实时协作版本。
Documentation
文档
Single-fetch LLM-curated dumps — prefer these over the human-shaped docs site for API/guide look-ups:
- Guides: https://www.nutrient.io/guides/flutter/llms.txt
- Cross-product index (other Nutrient SDKs): https://www.nutrient.io/llms.txt
单次获取由LLM整理的文档内容——API/指南查询优先使用这些文档,而非人工维护的文档站点:
- 指南:https://www.nutrient.io/guides/flutter/llms.txt
- 跨产品索引(其他Nutrient SDK):https://www.nutrient.io/llms.txt
Example Repositories
示例仓库
- Official Flutter plugin: https://github.com/PSPDFKit/pspdfkit-flutter
- 官方Flutter插件:https://github.com/PSPDFKit/pspdfkit-flutter
Key Concepts
核心概念
- Package: . The legacy
flutter pub add nutrient_flutterpackage is the pre-rebrand name; new projects usepspdfkit_flutter.nutrient_flutter - Main widget: — embeds the PDF viewer inline. Use
NutrientViewinstead when you need real-time collaborative annotation via Nutrient Instant. The legacyNutrientInstantViewis the pre-rebrand name.PspdfkitWidget - Required initialisation: call in
Nutrient.initialize(androidLicenseKey: ..., iosLicenseKey: ...)beforemain(). The SDK refuses to work withoutrunApp()having been called — this requirement is new in the Nutrient era; the legacyinitialize()plugin auto-initialised.pspdfkit_flutter
- 包:。旧版
flutter pub add nutrient_flutter包是更名前的名称;新项目请使用pspdfkit_flutter。nutrient_flutter - 主组件:—— 用于内嵌PDF查看器。如果需要通过Nutrient Instant实现实时协作批注,请改用
NutrientView。旧版NutrientInstantView是更名前的名称。PspdfkitWidget - 必填初始化:在之前,于
runApp()中调用main()。未调用Nutrient.initialize(androidLicenseKey: ..., iosLicenseKey: ...)的情况下SDK无法正常工作——这是Nutrient时代新增的要求;旧版initialize()插件会自动初始化。pspdfkit_flutter