WillPopCallback typedef
Signature for a callback that verifies that it's OK to call Navigator.pop.
Used by Form.onWillPop, ModalRoute.addScopedWillPopCallback, ModalRoute.removeScopedWillPopCallback, and WillPopScope.
Implementation
typedef WillPopCallback = Future<bool> Function();