View video tutorial

FLUTTER First Application

FLUTTER

This chapter shows how to create a simple Hello World application in Flutter using Android Studio.

Android Studio and Flutter


➔ To create a Flutter project, you need to install the Android Studio IDE and download the Flutter SDK and extract it to your local system.

➔ Open Android Studio and follow the steps below.

Flutter First Project.

Select File -> New -> New Flutter Project

flutter-new-project

Select Flutter and Flutter SDK path

Select Flutter SDK path

Select Project Name with all small letter, for multiple words use underscore character.

Select Project Name with all small letter

Select View -> Tool Windows -> Device Manager. to open device manager and run virtual device (emulator).

run-virtual-device

Run the project (main.dart file).

After a while output will be shown in the emulator.

Run the flutter project (main.dart file).

Open an Existing Flutter Project

Select > File > Open

Open an Existing Project

Select an Existing Project

Select flutter project folder (the folder contains pubspec.yaml)

Select an Existing Project

Run flutter app on emulator

Select an Existing Project