title: flutter call a function after moving back to screen from another screen
body: <p>How to call a function in flutter ,after moving back to a screen from another screen?</p>
  
  <p>For Example:</p>
  
  <p>Screen 1 </p>
  
  <pre><code>function1(){
  }
  </code></pre>
  
  <p>Screen2</p>
  
  <pre><code>function2(){
  //Go back to screen 1 and then call function1()
  }
  </code></pre>