Only with this particular pdf, sfPdfViewer return this error:Launching lib/main.dart on Chrome in debug mode...
════════ Exception caught by widgets library ═══════════════════════════════════
The following ArgumentError was thrown building FutureBuilder<Map<int, List<dynamic>>?>(dirty, dependencies: [MediaQuery], state: _FutureBuilderState<Map<int, List<dynamic>>?>#df808):
Invalid argument (Header checksum illegal): 18273
The relevant error-causing widget was
SfPdfViewer-[LabeledGlobalKey<SfPdfViewerState>#d4553]
When the exception was thrown, this was the stack
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49 throw_
packages/syncfusion_flutter_pdf/src/pdf/implementation/compression/compressed_stream_reader.dart 198:7 [_readZlibHeader]
packages/syncfusion_flutter_pdf/src/pdf/implementation/compression/compressed_stream_reader.dart 186:7 [_initialize]
packages/syncfusion_flutter_pdf/src/pdf/implementation/compression/compressed_stream_reader.dart 8:5 new
packages/syncfusion_flutter_pdf/src/pdf/implementation/compression/pdf_zlib_compressor.dart 19:44 decompress
packages/syncfusion_flutter_pdf/src/pdf/implementation/primitives/pdf_stream.dart 116:26 [_decompressData]
packages/syncfusion_flutter_pdf/src/pdf/implementation/primitives/pdf_stream.dart 90:27 [_decompress]
packages/syncfusion_flutter_pdf/src/pdf/implementation/pages/pdf_page_layer_collection.dart 156:22 [_combineProcess]
packages/syncfusion_flutter_pdf/src/pdf/implementation/pages/pdf_page_layer_collection.dart 133:22 [_combineContent]
packages/syncfusion_flutter_pdf/src/pdf/implementation/exporting/pdf_text_extractor/pdf_text_extractor.dart 564:41 [_getRecordCollection]
packages/syncfusion_flutter_pdf/src/pdf/implementation/exporting/pdf_text_extractor/pdf_text_extractor.dart 243:52 [_getText]
packages/syncfusion_flutter_pdf/src/pdf/implementation/exporting/pdf_text_extractor/pdf_text_extractor.dart 151:14 [_extractText]
packages/syncfusion_flutter_pdf/src/pdf/implementation/exporting/pdf_text_extractor/pdf_text_extractor.dart 67:12 extractText
packages/syncfusion_flutter_pdfviewer/src/pdfviewer.dart 1307:57 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 545:46 generate
packages/syncfusion_flutter_pdfviewer/src/pdfviewer.dart 1272:53 <fn>
packages/flutter/src/widgets/async.dart 782:48 build
packages/flutter/src/widgets/framework.dart 4782:27 build
packages/flutter/src/widgets/framework.dart 4665:15 performRebuild
packages/flutter/src/widgets/framework.dart 4840:11 performRebuild
packages/flutter/src/widgets/framework.dart 4355:5 rebuild
packages/flutter/src/widgets/framework.dart 4872:5 update
packages/flutter/src/widgets/framework.dart 3412:14 updateChild
packages/flutter/src/widgets/framework.dart 6202:14 update
packages/flutter/src/widgets/framework.dart 3412:14 updateChild
packages/flutter/src/widgets/framework.dart 4690:16 performRebuild
packages/flutter/src/widgets/framework.dart 4355:5 rebuild
packages/flutter/src/widgets/framework.dart 4746:5 update
packages/flutter/src/widgets/framework.dart 3412:14 updateChild
packages/flutter/src/widgets/framework.dart 6202:14 update
packages/flutter/src/widgets/framework.dart 3412:14 updateChild
packages/flutter/src/widgets/framework.dart 4690:16 performRebuild
packages/flutter/src/widgets/framework.dart 4840:11 performRebuild
packages/flutter/src/widgets/framework.dart 4355:5 rebuild
packages/flutter/src/widgets/framework.dart 2620:31 buildScope
packages/flutter/src/widgets/binding.dart 882:9 drawFrame
packages/flutter/src/rendering/binding.dart 319:5 [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1143:15 [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1080:9 handleDrawFrame
packages/flutter/src/scheduler/binding.dart 996:5 [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1003:13 invoke
lib/_engine/engine/platform_dispatcher.dart 157:5 invokeOnDrawFrame
lib/_engine/engine.dart 440:45 <fn>
════════════════════════════════════════════════════════════════════════════════
════════ Exception caught by widgets library ═══════════════════════════════════
Invalid argument (Header checksum illegal): 18273
The relevant error-causing widget was
SfPdfViewer-[LabeledGlobalKey<SfPdfViewerState>#d4553]
════════════════════════════════════════════════════════════════════════════════
════════ Exception caught by widgets library ═══════════════════════════════════
Invalid argument (Header checksum illegal): 18273
The relevant error-causing widget was
SfPdfViewer-[LabeledGlobalKey<SfPdfViewerState>#d4553]
════════════════════════════════════════════════════════════════════════════════