cupertino_back_gesture icon indicating copy to clipboard operation
cupertino_back_gesture copied to clipboard

Is there a way to change the dismiss/pop animation

Open aytunch opened this issue 4 years ago • 1 comments

I want to pop the current route by dragging down. So the current route should move along with the finger towards the bottom of the page while fading out and shrinking.

Basically I would like to know if there is an easy way, without forking the package, to customize the dismiss animation and gesture.

My objective is to have a similar UX to a Instagram Story route pop.

Thank you very much.

aytunch avatar May 12 '21 19:05 aytunch

This package doesn't allow such customizations because it's just a fork of flutter's default cupertino page route only allowing to customize gesture width.

Consider using showBottomSheet function or modal_bottom_sheet package

PiN73 avatar May 18 '21 19:05 PiN73