title: Flutter:How to get data from Api before loading page
body: <p>I was Trying To Get Data From Api To show on screen ,So i create one function and call it from widget build function or i also try to call it from constructor but it will call that function in the end so list empty error comes .</p>
  <p>I Want to call api before screen load and store data in the List.</p>