Compass
Compass copied to clipboard
How To
I am a bit confused as to how to actually use this.
if I have a route in the form of "profile: {userId}"
and I call Navigator.navigate(urn: ? )
What am I supposed to be passing in there?
I know how to use single word routes, but not sure how to actually pass information in
I have tried stuff like "profile/userId/1" and "profile:userId:1" and "profile:userId/1" and "profile: {1}" and so on but it always errors going into my catch
Figured it out. I had a space in the route added to Navigator (and even matching for that space it still didn't work, but when i removed that space everything started working correctly)