lukepighetti/fluro
View on GitHubHow to make Fluro defined route parameters OPTIONAL in flutter?
Open
#229 opened on Apr 8, 2021
good first issue
Repository metrics
- Stars
- (3,714 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
I have defined this route using Fluro. exchange/:pair
There is a problem! I want :pair to be optional. If client types https://host:port/exchange/BNB_BTC everything goes fine. but assume the user is looking for https://host:port/exchange and he confronts with 404 error cause there is no such route/path.
I mean something like exchange/{:pair}.