ExtendedPopScope<T> constructor

const ExtendedPopScope<T>({
  1. Key? key,
  2. required Widget child,
  3. bool canPop = true,
  4. PopInvokedWithResultCallback<T>? onPopInvokedWithResult,
})

Creates an instance of ExtendedPopScope.

The child parameter is required and specifies the widget to be displayed within the pop scope. The other parameters are optional:

Implementation

const ExtendedPopScope({
  super.key,
  required this.child,
  this.canPop = true,
  this.onPopInvokedWithResult,
});