flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
11.5k stars 449 forks source link

Reset `InteractiveViewer` tranformations #4391

Open ndonkoHenri opened 4 days ago

ndonkoHenri commented 4 days ago

Discussed in https://github.com/flet-dev/flet/discussions/4387

Originally posted by **marc-svg** November 17, 2024 When using an InteractiveViewer to resize, pan an Image how do I reset the image to its initial size and position ? What is the InteractiveViewer's attribute that resets the content size (when resized) and position (when paned) ? What is the InteractiveViewer's attribute that is updated when I resize /pan the content ?