Open zogol opened 1 year ago
i was just able to fix this by adding
boundaryMargin: const EdgeInsets.all(double.infinity),
Unfortunately now the pdfview can be dragged out of the screen
onInteractionEnd: (ScaleEndDetails details) {
if (controller.zoomRatio <= 1.2) {
controller.setZoomRatio(zoomRatio: pow(1, -1000) as double);
}
}
this workaround helped me
It is not possible to zoom out completely when the pdf is wider than high