Can now zoom more

This commit is contained in:
Ming Ming 2021-11-26 18:10:32 +08:00
parent 42d6851bf5
commit b92147215d

View file

@ -48,7 +48,7 @@ class _ImageViewerState extends State<ImageViewer>
build(BuildContext context) { build(BuildContext context) {
final content = InteractiveViewer( final content = InteractiveViewer(
minScale: 1.0, minScale: 1.0,
maxScale: 3.0, maxScale: 3.5,
transformationController: _transformationController, transformationController: _transformationController,
panEnabled: widget.canZoom && _isZoomed, panEnabled: widget.canZoom && _isZoomed,
scaleEnabled: widget.canZoom, scaleEnabled: widget.canZoom,