This PR adds zoomEnabled parameter to Modifier.zoomable().
zoomEnabled controls whether zoom behaviour works with pinch gesture, double-tap, and tap-and-drag.
It also controls whether drag gesture works when the content is zoomed.
On the other hand, even if zoomEnabled is false onTap and onDoubleTap handler work.
close #151
This PR adds
zoomEnabled
parameter toModifier.zoomable()
.zoomEnabled
controls whether zoom behaviour works with pinch gesture, double-tap, and tap-and-drag. It also controls whether drag gesture works when the content is zoomed. On the other hand, even ifzoomEnabled
is falseonTap
andonDoubleTap
handler work.