packages icon indicating copy to clipboard operation
packages copied to clipboard

[go_router]: add optional completer for replaced routes

Open pawlowskim opened this issue 1 year ago • 0 comments

When route from the stack is replaced, its completer is lost, and causes futures in routes chain to never finish. This change add optional completer that can be passed when pushing / replacing routes that will be completed when route is replaced.

It fixes: https://github.com/flutter/flutter/issues/141251 This PR is continuation of: https://github.com/flutter/packages/pull/6451

CC @chunhtai

Pre-launch Checklist

pawlowskim avatar May 24 '24 07:05 pawlowskim