title: How to rebuild the whole view in flutter everytime view enters the screen
body: <p>I want my page to hit the API always whenever it enters a page.
  For example, I am having 2 screens i.e FirstSCreen and SecondScreen.
  In FirstScreen I am calling an API to fetch some data. So if the user navigates from FirstScreen to SecondScreen and then comes back to FirstScreen by pressing the back button It should hit the API in FirstScreen again.</p>
  
  <p>I want to know is there any inbuilt function in flutter where I should call my methods so that it can work every time it enters the screen. I have tried using  <strong>didUpdateWidget()</strong> but it is not working the way I want.</p>
  
  <p>initState() is also called only once the widget is loaded ..
  Please explain me  </p>