PiN73 / cupertino_back_gesture

Flutter package to set custom width of iOS back swipe gesture area
BSD 3-Clause "New" or "Revised" License
30 stars 17 forks source link

Is there a way to change the dismiss/pop animation #15

Open aytunch opened 3 years ago

aytunch commented 3 years ago

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.

PiN73 commented 3 years ago

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