espresso3389 / pdfrx

pdfrx is yet another PDF viewer implementation that built on the top of pdfium. The plugin currently supports Android, iOS, Windows, macOS, Linux, and Web.
MIT License
60 stars 36 forks source link

How can store selected markers in local storage #130

Closed shakti8210 closed 4 weeks ago

espresso3389 commented 1 month ago

It’s just an example and you should save the following variable using some package. Only the problem with the example code is that Marker class does not implement any serialization code.

https://github.com/espresso3389/pdfrx/blob/b126686d611e6d1eaf7ccf840df7417ab25b4cf5/example/viewer/lib/markers_view.dart#L4