Did you know?
You can use an InteractiveViewer
widget to enable pan and pinch to zoom on any image. ✨
This is super handy and very useful on small screens (mobile).
You can set the clipBehavior
property to Clip.none
to let the image overflow the InteractiveViewer
's bounds when zooming, but this doesn't work as intended.
As a workaround, wrap the InteractiveWidget
with SizedBox.expand
. 👌
More info here 👇
Found this useful? Show some love and share the original tweet
Previous | Next |
---|---|
Logging HTTP status codes with emojis | Loading UI with Shimmer effect |