flutter_pdfview icon indicating copy to clipboard operation
flutter_pdfview copied to clipboard

Scroll Controller/Controller

Open Poliin13 opened this issue 3 years ago • 3 comments

Hi, I want to hide the bottom bar when scrolling. But I cant assign a ScrollController Class. I tried using : onViewCreated: (PDFViewController pdfViewController) { _controller.complete(pdfViewController); }, But it does not take a ScrollController Class. Is there another way to do this??

Thanks in advance

Poliin13 avatar Aug 03 '22 07:08 Poliin13

PDFs drew on native view, not on flutter view.

So, maybe you should wrap scrollview or something like that around PDFView.

endigo avatar Aug 03 '22 08:08 endigo

It doesn't support nested views. Tried already. But thanks for your support.

On Wed, Aug 3, 2022, 2:36 PM endigo @.***> wrote:

PDFs drew on native view, not on flutter view.

So, maybe you should wrap scrollview or something like that around PDFView.

— Reply to this email directly, view it on GitHub https://github.com/endigo/flutter_pdfview/issues/193#issuecomment-1203653058, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7PZVVRXANVLPCZWOTOHCLVXIVPTANCNFSM55NX5LWQ . You are receiving this because you authored the thread.Message ID: @.***>

Poliin13 avatar Aug 03 '22 09:08 Poliin13

There is an option for onPageScroll in AndroidPdfViewer, i can add this option. @endigo can you please assign this work to me?

mohit-2003 avatar Aug 05 '22 05:08 mohit-2003