BackButtonListener constructor

const BackButtonListener({
  1. Key? key,
  2. required Widget child,
  3. required ValueGetter<Future<bool>> onBackButtonPressed,
})

Creates a BackButtonListener widget .

Implementation

const BackButtonListener({
  super.key,
  required this.child,
  required this.onBackButtonPressed,
});