NavigatorPopHandler<T> constructor
- Key? key,
- @Deprecated('Use onPopWithResult instead. ' 'This feature was deprecated after v3.26.0-0.1.pre.') VoidCallback? onPop,
- PopResultCallback<
T> ? onPopWithResult, - bool enabled = true,
- required Widget child,
Creates an instance of NavigatorPopHandler.
Implementation
const NavigatorPopHandler({
super.key,
@Deprecated(
'Use onPopWithResult instead. '
'This feature was deprecated after v3.26.0-0.1.pre.',
)
this.onPop,
this.onPopWithResult,
this.enabled = true,
required this.child,
}) : assert(onPop == null || onPopWithResult == null);