widgets/will_pop_scope library
Classes
- WillPopScope2
- Brings the same behavior as WillPopScope, which is now deprecated onWillPop is a bit different and still asks as the first value if we should block the pop The second value is used, if Navigator.pop() should provide a specific value (can be null)
- WillPopScope2Controller
- Indicates if a WillPopScope2 should allows to pop (= swipe back gesture on iOS) or not