BeamerChildBackButtonDispatcher constructor
BeamerChildBackButtonDispatcher({
- required BeamerBackButtonDispatcher parent,
- required BeamerDelegate delegate,
- Future<
bool> onBack(- 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);