(it is not the root, there are other routes above /orders, and I skip them for simplicity).
First of all, I want to mention that I want to navigate to OrderPaymentProofRoute from OrdersRoute, but it will send me to OrderRoute instead of OrderPaymentProofRoute.
But I navigate first to OrderRoute, and then context.navigateTo(OrderPaymentProofRoute()); it throws the following exception:
I have the following route hierarchy:
(it is not the root, there are other routes above /orders, and I skip them for simplicity).
First of all, I want to mention that I want to navigate to
OrderPaymentProofRoute
fromOrdersRoute
, but it will send me toOrderRoute
instead ofOrderPaymentProofRoute
.But I navigate first to
OrderRoute
, and thencontext.navigateTo(OrderPaymentProofRoute());
it throws the following exception:router.gr.dart
OrderPaymentProofView:
OrderView:
Obviously when I navigate to OrderRoute I pass the orderId parameter.
Versions: