lukepighetti/fluro

How to make Fluro defined route parameters OPTIONAL in flutter?

オープン

#229 opened on 2021/04/08

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Dart (408 件のフォーク)batch import
good first issue

Repository metrics

Stars
 (3,712 個のスター)
PR merge metrics
 (30d に merged 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}.

コントリビューターガイド