Flutter Basic Concept with Example Before you start writing the actual code let's begin with a basic understanding of the generated code from flutter project π€ Step 1: Create the starter Flutter app import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Welcome to Flutter', home: Scaffold( appBar: AppBar( title: Text('Welcome to Flutter'), ), body: Center( child: Text('Hello World'), ), ), ); } } First-line above code to import the default flutter package which contains the material design. `void main()=> runApp(MyApp());` : - The main method is bootstrapper here for running the app, which required a Class (MyApp). The MyApp class is StatelessWidget, as I explained the other part in this series in flutter everything mostly considered