packages.flutter
packages.flutter copied to clipboard
[native_pdf_view] How to change padding between page and another page?

pls check red line callout, it is too large, how to modify margin, what should I do ?
+1
+1
i resolve it by put minScale and initialScale to value <1. like "0.95"
PdfView( controller: _pdfController!, pageBuilder: ( Future<PdfPageImage> pageImage, int index, PdfDocument document, ) => PhotoViewGalleryPageOptions( imageProvider: PdfPageImageProvider( pageImage, index, document.id, ), minScale: PhotoViewComputedScale.contained * 0.95, // this maxScale: PhotoViewComputedScale.contained * 8.0, initialScale: PhotoViewComputedScale.contained * 0.95, // this heroAttributes: PhotoViewHeroAttributes(tag: '${document.id}-$index'), ), );