title: Navigator.popUntil flutter show black screen
body: <p>I have two different flows in my project.</p>
  <ol>
  <li>Main Page -&gt; PageA -&gt; Page B -&gt; Page C -&gt; Page A</li>
  </ol>
  <p>From Page C to Page A, I use this code , which works fine.</p>
  <pre><code>   Navigator.popUntil(context, ModalRoute.withName(AssetMenu.ROUTE));
  </code></pre>
  <ol start="2">
  <li>When receive push notification, user tap on the push notification, I want it straight away navigate like this</li>
  </ol>
  <p>Main Page -&gt; Page B -&gt; Page C -&gt; then back to Page A when button in Page C is clicked.</p>
  <p>But when button in Page C is clicked, it shows black screen.</p>
  <p>How should I handle this?</p>