packages.flutter
packages.flutter copied to clipboard
padding on pages (space between pages it self)
Describe the solution you'd like add padding parameter
Describe alternatives you've considered render page methot return widget so we can to surround whit padding widget
Additional context be able to place a space between one page and the next.
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'), ), );