binSaed / flutter_cached_pdfview

Enhanced PDF view for Flutter.
https://pub.dev/packages/flutter_cached_pdfview
MIT License
121 stars 70 forks source link

PDF View with Draggable Scrolllbar #29

Open mg7237 opened 4 years ago

mg7237 commented 4 years ago

Is your feature request related to a problem? Please describe. I have a requirement whereby the users need to be provided with a draggable scrollbar. So dragging the scrollbar movement should synchronize page number in view. I tried using a draggable scrollbar plugin https://pub.dev/packages/draggable_scrollbar .

The above works in a way that DraggableScrollbar should be the parent widget of the underlying list (or pdf page in our case). The scrollable scrollbar provides a controller which needs to be passed to underlying list widget for maintaining synchronization of list position with the scroll bar position.

Since Cached_PdfView doesn't provide such controller property to which a scrollbar controller can be assigned.

Please provide a solution to the requirement which is an urgent business need. Alternatively, if there is already a solution, please direct me to the available resource to refer.

Describe the solution you'd like The solution to the Draggable Scrollbar requirement which is integrated & synchronized with pdf view is needed.

Describe alternatives you've considered No clear alternative found. Although I did try unsuccessfully to force-fit and integrate the 2 components that didn't work.

Additional context NA

mg7237 commented 4 years ago

Hello Support Team,

Could you please check this issue and advise possible solution.

Thanks, Manish