WillPopScope2 constructor

const WillPopScope2({
  1. required Widget child,
  2. required Future<(bool, dynamic)> onWillPop(),
  3. WillPopScope2Controller? controller,
  4. Key? key,
})

Implementation

const WillPopScope2({
  required this.child,
  required this.onWillPop,
  this.controller,
  super.key,
});