Pooja Bhaumik
1 min readJul 16, 2018

--

If you mean a completely new instance of a default page that has not been in the stack before, then I suggest pushNamedAndRemoveUntil. This will push the new route and remove every route before that. I actually demonstrated this method in this article using the logout scenario itself. Did it not solve your use-case?

--

--

Pooja Bhaumik
Pooja Bhaumik

Written by Pooja Bhaumik

Developer Advocate @FlutterFlow | Google Developer Expert @Flutter | Youtube & Technical Writer

Responses (1)