iampawan / VelocityX

A minimalist Flutter framework for rapidly building Flutter apps.

Home Page:https://velocityx.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nested waitAndPush with returnAndPush raise exception

carmas123 opened this issue · comments

When we use waitAndPush to open a detail and return the result with returnAndPush to pop the detail result all work fine, but if from detail page we open a subdetail that use again waitAndPush and returnAndPush I got an exception from the first returnAndPush.

MAIN
-> "waitAndPush" -> DETAIL
-> "waitAndPush" -> SUB-DETAIL
...
<- "returnAndPush" - THIS WORK
<- "returnAndPush" - Future already completed

any solution? i came across it too

Fixed with v3.5.0

Fantastic