WillPopScopeWidget constructor

const WillPopScopeWidget({
  1. Key? key,
  2. bool canPop = false,
  3. required Future<bool?> onWillPop(),
  4. required Widget child,
  5. bool allowExitApp = true,
})

Implementation

const WillPopScopeWidget({
  super.key,
  this.canPop = false,
  required this.onWillPop,
  required this.child,
  this.allowExitApp = true,
});