EasyRouter class
Constructors
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
allAppRoutes
↔ Map<
String, dynamic Function(BuildContext, BeamState, Object?)> ? -
getter/setter pair
- androidEasyRouterPageType ↔ BeamPageType?
-
default is BeamPageType.material
getter/setter pair
- easyRouterDelegate ↔ BeamerDelegate
-
getter/setter pair
- getEasyRouterBackButtonDispatcher → BeamerBackButtonDispatcher
-
no setter
- getEasyRouterParser → BeamerParser
-
no setter
- iosEasyRouterPageType ↔ BeamPageType?
-
default is BeamPageType.cupertino
getter/setter pair
- notFoundPageEx ↔ BeamPage?
-
getter/setter pair
-
notFoundRedirect
↔ BeamLocation<
RouteInformationSerializable> ? -
getter/setter pair
- notFoundRedirectNamed ↔ String?
-
getter/setter pair
-
pageTitle is null in web
getter/setter pair
-
pages
↔ List<
PageRoute? Function()> -
getter/setter pair
-
routes
→ Map<
String, dynamic Function(BuildContext, BeamState, Object?)> -
try to give value to routes first
no setter
-
stackRouteHistory
↔ List<
String> -
getter/setter pair
- webEasyRouterPageType ↔ BeamPageType?
-
default is BeamPageType.noTransition
getter/setter pair
Static Methods
-
back(
BuildContext context, {String? popFailedRoute}) → void -
go(
{required BuildContext context, required String route, Map< String, dynamic> ? data, bool replaceRoute = false, dynamic invalidRouterDialog(BuildContext)?}) → void -
removeHashFromUrl(
) → void - If you want to remove the leading hash (#) from the URL of your Flutter web app, you can simply call removeHashFromUrl in the main function of your app.
-
routeInfo(
{required Widget child, String? title, LocalKey? key, String? popToNamedEx, bool onPopPageEx(BuildContext, BeamerDelegate, RouteInformationSerializable, BeamPage)?}) → BeamPage -
setPathUrlStrategyEx(
) → void