ExtendedPopScope<T> constructor
const
ExtendedPopScope<T> ({
- Key? key,
- required Widget child,
- bool canPop = true,
- 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,
});