BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi! I like this plugin, it makes coding much easier since I only have to write one line of code to fetch PDF files. However, I would like to request to customize the loader. Most specifically allow to hide or show it. This would be very helpful. Thank you.
Hi MAE KRISTINE VANNIRRIE SARMIENTO,
Please find the example application from the attachment for customize the progress bar color in SfPdfViewer . To know more about this, kindly check the following link,
https://pub.dev/documentation/syncfusion_flutter_core/latest/theme/SfPdfViewerThemeData-class.html
Kindly conform us you want to hide/show the loading progress bar indicator or page loading circular progress bar indicator.
Regards,
Deepika R
Hi Deepika,
Thanks for the reply but I'd really be grateful if the team could just provide an option to remove a loading progress bar entirely. I tried using the SfPdfViewerThemeData to change the color but it is still there. It just hides away the progress bar but not its shell. Here's a photo:
If you could implement this request, I hope it can be done just SfPdfViewer class so it lessens the dependencies I need to install.
Thank you so much!
Hi MAE KRISTINE VANNIRRIE SARMIENTO,
Regarding SfPdfViewerThemeData:
We have checked the reported issue, and the color of the progress bar changed properly on our side. For your reference, we have attached the sample along with the output screen recording of the same. If you still reproduce the issue, kindly share the issue's replicating sample.
Regarding option to remove a loading progress bar:
If we remove the progress bar, SfPdfViewer will show a grey area in the viewport until the Pdf document is loaded, and it will not indicate whether the PDF document is loaded or not. Kindly share your complete purpose of the requirement.
Regards,
Deepika R