title: Error: Entry point doesn't contain a main function
body: <p>I am new to android studio and flutter. When I try to run my flutter program on android studio, I see a pop up which says
  <strong>Error: Entrypoint doesn't contain a main function</strong> which I do not know the meaning of.
  The Dart entrypoint is set as the main file for my program and the rest is left empty.
  When I again click on run after that, I see <strong>Configuration is still incorrect. Do you want to edit it again?</strong> Then it says <strong>Entrypoint doesn't contain a main function</strong></p>
  <p>Could anyone please help me with this? Thanks in advance</p>