We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3f2b56 commit a47b0d2Copy full SHA for a47b0d2
packages/syncfusion_flutter_pdfviewer/lib/src/pdfviewer.dart
@@ -3302,7 +3302,7 @@ class SfPdfViewerState extends State<SfPdfViewer> with WidgetsBindingObserver {
3302
} else {
3303
document.security.userPassword = '';
3304
document.security.ownerPassword = '';
3305
- _decryptedBytes = document.saveSync();
+ _decryptedBytes = Uint8List.fromList(document.saveSync());
3306
}
3307
3308
_decryptedBytes = pdfBytes;
0 commit comments