Welcome to the Flutter feedback portal. We’re happy you’re here! If you have feedback on how to improve the Flutter, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Details about the bug
flutter: ══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following _TypeError was thrown while dispatching a pointer event:
flutter: Null check operator used on a null value
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0 PdfDictionary.returnValue (package:syncfusion_flutter_pdf/src/pdf/implementation/primitives/pdf_dictionary.dart:125:14)
flutter: #1 PdfDictionary.[] (package:syncfusion_flutter_pdf/src/pdf/implementation/primitives/pdf_dictionary.dart:60:46)
Reproducing the steps
this happens when I try to add a text highlight annotation, change the pdf byte then change the state of the pdfviewer widget with the updated pdf bytes. Note that this happens 40% of the time and other 60% is just giving me nothing.
before:
after: