RouteQueryBuilder class abstract

Class for building page queries.

Entering the current path in resolve will return RouteQuery only if it corresponds to that path.

This allows the transition to the appropriate path.

By passing it to AppRouter and invoking it in MaterialApp.router, this builder can be used with named routing corresponding to a Web URL.

ページクエリをビルドするためのクラス。

resolveに現在のパスを入力するとそのパスに該当する場合のみRouteQueryを戻すようにします。

それにより適切なパスへ遷移することが可能です。

AppRouterに渡してMaterialApp.routerで起動することによりこのビルダーをWebのURLに対応した名前付きルーティングで利用することができるようになります。

Available Extensions
Annotations

Constructors

RouteQueryBuilder()
Class for building page queries.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(String? path) RouteQuery?
Passing the current path to path returns the corresponding RouteQuery.
toString() String
A string representation of this object.
inherited

Operators

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