OnNavigateBackScope constructor
Creates a widget that registers a callback to veto attempts by the user to navigate back.
Implementation
const OnNavigateBackScope({
Key? key,
required this.onNavigateBack,
required this.child,
}) : super(key: key);