BeamPage constructor
const
BeamPage({
- required LocalKey key,
- String? name,
- required Widget child,
- String? title,
- bool onPopPage(
- BuildContext context,
- BeamerDelegate delegate,
- RouteInformationSerializable state,
- BeamPage poppedPage,
- String? popToNamed,
- BeamPageType type = BeamPageType.material,
- Route routeBuilder(
- BuildContext context,
- RouteSettings settings,
- Widget child
- bool fullScreenDialog = false,
- bool opaque = true,
- bool keepQueryOnPop = false,
Creates a BeamPage with specified properties.
child
is required and typically represents a screen of the app.
key
is required since Navigator needs it to tell BeamPages apart.
Implementation
const BeamPage({
required LocalKey key,
String? name,
required this.child,
this.title,
this.onPopPage = pathSegmentPop,
this.popToNamed,
this.type = BeamPageType.material,
this.routeBuilder,
this.fullScreenDialog = false,
this.opaque = true,
this.keepQueryOnPop = false,
}) : super(key: key, name: name);