BackButtonListener constructor Null safety
- {Key? key,
- required Widget child,
- required ValueGetter<
Future< onBackButtonPressed}bool> >
Creates a BackButtonListener widget .
The child and onBackButtonPressed arguments must not be null.
Implementation
const BackButtonListener({
super.key,
required this.child,
required this.onBackButtonPressed,
});