BeamerBackButtonDispatcher constructor

BeamerBackButtonDispatcher({
  1. required BeamerDelegate delegate,
  2. Future<bool> onBack(
    1. BeamerDelegate delegate
    )?,
  3. bool alwaysBeamBack = false,
  4. bool fallbackToBeamBack = true,
})

Creates a BeamerBackButtonDispatcher with specified properties.

delegate is required as this needs to communicated with BeamerDelegate.

Implementation

BeamerBackButtonDispatcher({
  required this.delegate,
  this.onBack,
  this.alwaysBeamBack = false,
  this.fallbackToBeamBack = true,
});