RouteLinks extension
RouterState's extension shortcuts on Routes constants.
- on
Methods
-
auth(
) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.auth page. -
chat(
ChatId id, {bool push = false, ChatItemId? itemId, ChatDirectLinkSlug? link}) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.chats page. -
chatInfo(
ChatId id, {bool push = false}) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.chatInfo page. -
contact(
UserId id, {bool push = false}) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.contacts page. -
dialog(
Chat chat, UserId? me, {bool push = false, ChatItemId? itemId, ChatDirectLinkSlug? link}) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.chats page respecting the possiblechat
being a dialog. -
home(
{bool? signedUp}) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.home page. -
link(
ChatDirectLinkSlug slug) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.chatDirectLink page. -
me(
) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.me page. -
nowhere(
) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.nowhere page. -
style(
{bool push = false}) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.style page. -
support(
{bool push = false}) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.support page. -
user(
UserId id, {bool push = false}) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.user page. -
work(
WorkTab? tab, {bool push = false}) → void -
Available on RouterState, provided by the RouteLinks extension
Changes router location to the Routes.work page.