RoutesLocationBuilder class
A pre-made builder to be used for BeamerDelegate.locationBuilder.
Creates a single BeamLocation; RoutesBeamLocation and configures its BeamLocation.buildPages from specified routes.
Constructors
-
RoutesLocationBuilder({required Map<
Pattern, dynamic Function(BuildContext, BeamState, Object?)> routes, Widget builder(BuildContext context, )?}) - Creates a RoutesLocationBuilder with specified properties.
Properties
- builder ↔ (Widget Function(BuildContext context, )?)
-
Used as a BeamLocation.builder.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
routes
→ Map<
Pattern, dynamic Function(BuildContext, BeamState, Object?)> -
List of all routes this builder handles.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
RouteInformation routeInformation, BeamParameters? beamParameters) → BeamLocation< RouteInformationSerializable> - Makes this callable as LocationBuilder.
-
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