WillPopScope2 constructor
- required Widget child,
- required Future<
(bool, dynamic)> onWillPop(), - WillPopScope2Controller? controller,
- Key? key,
Implementation
const WillPopScope2({
required this.child,
required this.onWillPop,
this.controller,
super.key,
});