Open albertbxl opened 4 years ago
+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'), ), );
pls check red line callout, it is too large, how to modify margin, what should I do ?