Dart programs has an entry point called main. When you run flutter or dart file it first runs main function . In this case the main function is calling flutter specific function called runApp which takes any widget as an argument and created a layout which fills the screen.12 Haz 2020