BeamGuard constructor
BeamGuard({
- required List pathBlueprints,
- required bool check(
- BuildContext context,
- BeamLocation<
BeamState> location
- void onCheckFailed(
- BuildContext context,
- BeamLocation<
BeamState> location
- BeamLocation<
BeamState> beamTo(- BuildContext context
- String? beamToNamed,
- BeamPage? showPage,
- bool guardNonMatching = false,
- bool replaceCurrentStack = true,
Implementation
BeamGuard({
required this.pathBlueprints,
required this.check,
this.onCheckFailed,
this.beamTo,
this.beamToNamed,
this.showPage,
this.guardNonMatching = false,
this.replaceCurrentStack = true,
});