When the project creates an executable, the entry point of the project is located in main()Where The default is given as:
main()
void main(){ runApp(const MyApp());}
This can be find in lib/main.dart along with other source code.
lib/main.dart