SimpleLocationBuilder class

A pre-made builder to be used for locationBuilder.

Creates a single BeamLocation; SimpleBeamLocation and configures its BeamLocation.buildPages with appropriate routes.

Constructors

SimpleLocationBuilder({required Map<dynamic, dynamic Function(BuildContext, BeamState)> routes, Widget builder(BuildContext context, Widget navigator)?})

Properties

builder ↔ (Widget Function(BuildContext context, Widget navigator)?)
Used as a BeamLocation.builder.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
routes Map<dynamic, dynamic Function(BuildContext, BeamState)>
List of all routes this builder handles.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(BeamState state) BeamLocation<BeamState>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited