BeamerChildBackButtonDispatcher constructor

BeamerChildBackButtonDispatcher({
  1. required BeamerBackButtonDispatcher parent,
  2. required BeamerDelegate delegate,
  3. Future<bool> onBack(
    1. BeamerDelegate delegate
    )?,
})

Creates a BeamerChildBackButtonDispatcher with specified properties.

parent is required as this needs to communicate with its parent BeamerBackButtonDispatcher. delegate is required as this needs to communicated with BeamerDelegate.

Implementation

BeamerChildBackButtonDispatcher({
  required BeamerBackButtonDispatcher parent,
  required this.delegate,
  this.onBack,
})  : alwaysBeamBack = parent.alwaysBeamBack,
      fallbackToBeamBack = parent.fallbackToBeamBack,
      super(parent);