title: How to refresh page in flutter
body: <p>I am new to flutter development. I wanted to achieve android <code>onResume()</code> functionality
  in flutter. I was handling that using <code>then()</code> like this</p>
  
  <pre><code>Navigator.push(context,
      MaterialPageRoute(builder: (_) =&gt; PageTwo()))
      .then((value) {
      refresh();
  });
  </code></pre>
  
  <p>This is working fine If i am coming back from <code>PageTwo</code> to <code>PageOne</code>.</p>
  
  <p>I am going to pageThree <code>PageOne-&gt;pageTwo using Push()</code> and <code>pageTwo-&gt;PageThree using PushReplacement()</code>. When i <code>pop()</code> pageThree pageOne is not refreshing.</p>