Committed by
David PHAM-VAN
Remove extra scroll bars on desktop
Showing
2 changed files
with
2 additions
and
4 deletions
| @@ -491,10 +491,7 @@ class _PdfPreviewState extends State<PdfPreview> with PdfPreviewRaster { | @@ -491,10 +491,7 @@ class _PdfPreviewState extends State<PdfPreview> with PdfPreviewRaster { | ||
| 491 | return Column( | 491 | return Column( |
| 492 | mainAxisAlignment: MainAxisAlignment.center, | 492 | mainAxisAlignment: MainAxisAlignment.center, |
| 493 | children: <Widget>[ | 493 | children: <Widget>[ |
| 494 | - Expanded( | ||
| 495 | - child: scrollController.hasClients | ||
| 496 | - ? Scrollbar(controller: scrollController, child: scrollView) | ||
| 497 | - : scrollView), | 494 | + Expanded(child: scrollView), |
| 498 | if (actions.isNotEmpty && widget.useActions) | 495 | if (actions.isNotEmpty && widget.useActions) |
| 499 | IconTheme.merge( | 496 | IconTheme.merge( |
| 500 | data: IconThemeData( | 497 | data: IconThemeData( |
-
Please register or login to post a comment