PredictiveCallback constructor

const PredictiveCallback({
  1. required void onPop(
    1. bool didPop
    ),
  2. required Widget child,
  3. bool canPop = false,
  4. bool leaveApp = false,
  5. Key? key,
})

Implementation

const PredictiveCallback({
  required this.onPop,
  required this.child,
  this.canPop = false,
  this.leaveApp = false,
  super.key,
});