RouteResult class
- Annotations
Constructors
-
RouteResult.match(RouteSettings settings, {required PartialUri remainingUri, Map<
String, String> parameters = const {}, required RouteBuilder builder}) -
const
- RouteResult.noMatch(RouteSettings settings)
-
const
- RouteResult.root(RouteSettings settings)
Properties
- builder → RouteBuilder?
-
The RouteBuilder to construct a flutter.Route for this match.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isMatch → bool
-
true
if the uri was matched,false
otherwise.final -
parameters
→ Map<
String, String> -
Parameters, e.g. from path segments.
final
- remainingUri → PartialUri?
-
Parts of the original uri that are left after matching.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → RouteSettings
-
The RouteSettings given by a Navigator for use in the flutter.Route
generated by builder.
final
- uri → Uri
-
The original Uri that was requested.
no setter
Methods
-
build(
) → Route -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
withNestedMatch(
MatcherEvaluation evaluation, RouteBuilder builder) → RouteResult -
withNoNestedMatch(
) → RouteResult
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
-
operator [](
String key) → String?