router/utils
library
Functions
-
goToChat(dynamic localContext, String roomId)
→ void
-
helper to figure out how to route to the specific chat room
-
goToSpace(dynamic localContext, String spaceId)
→ void
-
helper to figure out how to route to the specific chat room
-
navigateOnRightBranch(dynamic context, ShellBranch targetBranch, void navigationCallback(dynamic), {bool initialLocation = true})
→ bool
-
Make sure we are on the right navigation branch
this needs to be run before you
go
or push
the route
or we only switch in the UI and no really in the active shell