So let us start by installing Flutter. Download from the link. After downloading install it.
Set path as an environmental variable. (where you installed flutter)
Now if you run the command and run the below command in CMD you see the output as shown :
To check the version :
Now you are done with the installation of Flutter. Run the command the below-given command to check the health of flutter and all the issues that need to be resolved.
We see that some licenses are not accepted therefore we need to run the command.
flutter doctor --android-licenses
You also need an IDE to run the code. We will use Android Studio for that. Download the software from here. And then after the installation, you will see this screen.
Select the Standard type:
Select according to your wish light or dark theme:
After the installation is done successfully it will show this:
Select Configure and then SDK Manager.
Select Plugins and install the Dart and Flutter plugins if not installed.
Go to SDK Platforms and select the marked one (if you don’t have it downloaded, download it).
Then under SDK Tools select the ones marked in the screenshot.
Then apply and you will see, the components that are not downloaded start downloading.
Set the User variable :
Select Configure and then AVDManager.
Select Phone -> Nexus 5X and then Next
Select Pie and then Next.
Give your AVD a name and Finish.
Now run the below commands to see if there are any emulator and device added.
If you want to start the AVD select the play button. It will start loading.
Next, the phone shows up after a moment or 2 it will load the phone.
Now after the device starts and if you run the same commands as given above you will see that now 1 device is connected.
Now we need to install VSCode. Download it from here and install it. After installing it download the Dart and Flutter plugins.
Now after everything is configured. We can run the same command and see the output as :
Let's create a basic project now.
flutter create test_app
Press the + button to increase the count.
Now you are finally done with the implementation too.
Stay tuned to know about the further projects created using Flutter.