Learn How to Setup Flutter with Android Studio
A perfect guide for installation of Flutter SDK in your machine
What is Flutter?
Flutter is an open-source UI software Development Kit designed by google in 2017. It is mainly based on Dart programming language, which is an Object-Oriented Programming language.
Why use Flutter?
- Flutter can write one codebase for 2 apps- covering both Android and IOS Platform.
- Good for UI/UX designing layout methodology.
- Hot reload changes the app UI in instant, unlike compared to Android Java or IOS Swift.
- Good and Easy to understand Documentation which is given by official flutter Flutter documentation | Flutter
Prerequisite for Flutter Android Development
Your machine should have at least 8 gigs of RAM, an Intel/AMD processer which is new/mid-generation, and a GPU(optional if you will use the physical device as emulator).
Download Android Studio:
- Go to Download Android Studio and SDK tools | Android Developers website and download the .exe file.
- After downloading, run the setup file and read the instructions and click next
Download Git:
- If you want to clone the repo from git, you need to download the git to your machine.
- Click on this Git — Downloads (git-scm.com) and select the OS and it will automatically download the git exe file.
- Run the exe file and follow the instructions given in the setup and click on the next button.
Download Flutter:
- Go to Install | Flutter website and select the OS.
- After Selecting OS, now you have two options:
- Download it from the website manually and save it in a folder. or
- Clone the flutter repo SDK from GitHub, make sure to clone the stable version only.
- Here’s the git stable version of flutter:
git clone https://github.com/flutter/flutter.git -b stable
After installing Flutter:
Make sure to add the SDK folder path in a system environment variable. After all of these steps go to the windows console (cmd) and type
flutter --version
if you get the version details then Congrats you have successfully downloaded and installed the flutter in your machine!