canSwipeBack property
bool
get
canSwipeBack
Whether the back gesture (the iOS edge swipe, Android's predictive back)
drags this page, read as each one starts and as an edge swipe moves and
lifts: an edge swipe it turns off springs back. Set to false for bottom
sheets and overlays that dismiss differently; Android's back gesture then
goes back as system back does.
Implementation
bool get canSwipeBack => true;