Flutter PDF Viewer macOS
The macOS implementation of Syncfusion Flutter PDF Viewer plugin.
Usage
Import the package
This package is an endorsed implementation of syncfusion_flutter_pdfviewer
for the macOS platform since version 19.2.0-beta
, so it gets automatically added to your dependencies when you depend on package syncfusion_flutter_pdfviewer
.
...
dependencies:
...
syncfusion_flutter_pdfviewer: ^19.2.0-beta
...
...
Loading PDF from network
To load PDF from network using SfPdfViewer.network in macOS, network access must be enabled in your macOS application
On your macos/Runner/DebugProfile.entitlements
file, add the following lines inside the <dict>
tag to enable the network access in your application:
<key>com.apple.security.network.client</key>
<true/>