Jonathan Salmon
Committed by David PHAM-VAN

Remove extra scroll bars on desktop

... ... @@ -3,6 +3,7 @@
## 5.6.2
- Update Linux and Windows pdfium libraries to 4706
- Remove extra scroll bars on desktop [Jonathan Salmon]
## 5.6.1
... ...
... ... @@ -491,10 +491,7 @@ class _PdfPreviewState extends State<PdfPreview> with PdfPreviewRaster {
return Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Expanded(
child: scrollController.hasClients
? Scrollbar(controller: scrollController, child: scrollView)
: scrollView),
Expanded(child: scrollView),
if (actions.isNotEmpty && widget.useActions)
IconTheme.merge(
data: IconThemeData(
... ...