Flutter is Google’s UI toolkit for creating fascinating, natively compiled applications for Desktop, Mobile and Web from a single codebase.
Installation of Android Studio
Alright, so the first step is to install the android studio. Go to the link https://developer.android.com/ and click download.
It will lead you to the next page from where you can download the studio version that’s right for you.
Once it’s installed. Go ahead run it. Download the SDK you would like to. Try to go with a new or API version but you don’t necessarily need the newest latest and greatest.
Just leave the defaults and you don’t really need to change the SDK but you can if you’d like, it doesn’t really matter what sort of activity you choose just hit next and finish take a few seconds for Android studio to open. Once the Android studio opens up.
Go ahead and click create an Android virtual device manager (AVD) and create a new phone. It’s a simulation of the phone device specifications you have selected. Click next and configure the SDK whatever you would like. Click finish and run it by clicking this little green arrow. The virtual device itself will start up and just make sure it boots all the way before continuing on. This may take a moment as these virtual devices tend to be a little bit slower than an actual phone. Alright, when the phones fully booted up and we’re ready to work.
Next we need to install the intelliJ IDEA IDE go ahead and download the community version. Click on the link given https://www.jetbrains.com/idea/download/ and download the community version. Once the download is complete go ahead and run it and you’ll see the intelligence screen. Go ahead click configure and go to settings. You’re going to want to go to plugins. If it’s not listed just type the plugins right here in the search box from here. Type in “FLUTTER”.
I already have it installed. You should see a little button right here to install it. Go ahead and click install and it’ll go through the installation process and then it will want to restart the ID.
Installation of Flutter
Simply go to the https://flutter.dev/. Click to “Get Started”. Then select the operating system on which you are using the flutter. Follow the directions. Go ahead and open a command line and type “flutter doctor”.
Flutter doctor is an awesome feature that lets you know exactly what’s going on with your flutter installation.
As you can see I’m pretty much good to go. I have got flutter I’ve got the android toolchain I have got an android studio and I have got intelliJ community edition installed but I have no connected devices. Don’t worry about that. That’ll be able. once you started Android virtual device which you can do right in the IDE.
Create the First Application Project:
Go ahead and open intelliJ. Click “Create new project” and you’ll see flutter list on the left if you don’t, you didn’t install the plugin correctly on my system.
Go ahead and choose the SDK location. If you can’t find it click install SDK and follow the directions. Click next from here you see we have a project name and we can choose which languages you want to compile down and click finish. And we’re just going to build a basic flutter application.
The first thing we’re going to do for the sake of time is Start emulator. So it says no devices.
That’s what flutter doctor was complaining about. Let’s go ahead. Open the emulator. It’s going to take a moment for this to boot up. Run the application and enjoy the code functionality! Happy coding 🙂