I'm trying to implement a back feature like Instagram(where you can swipe back even with swiping from the middle of the screen on iOS). The current swipe back happens just by swiping from the most left/right part of the screen and I'm trying to make it easier to swipe back.
I understand that the question is a little ambiguous but I couldn't find code related to my problem and I think if you just push a page with the Navigator.push
function in flutter and try to swipe back to the last page, you can understand what I mean.
There is a package called swipeable_page_route.
Navigator.of(context).push(
SwipeablePageRoute(
builder: (context) => const FollowInfoScreen(),
),
);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With