title: How to run code when Stateless widget is created
body: <p>I have a screen made using Stateless Widget.<br>
  I want to run some code when the screen is loaded or when the Stateless widget is created.<br><br></p>
  
  <p>In android we could do this in onCreate() method.<br>
  i.e. is there some equivalent of onCreate() in flutter.</p>