lukepighetti/fluro
How to make Fluro defined route parameters OPTIONAL in flutter?
开放
#229 创建于 2021年4月8日
good first issue
仓库指标
- 星标
- (3,712 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
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}.