Step by step instruction to install Flutter on UBUNTU 18.04 LTS.

If your reading this article which means you what is flutter and you want to try flutter on hobby project or learn mobile development using flutter for its simplicity. to begin with flutter first step is to install flutter. so this article help to install flutter and run development.
Lets begin with install java in Ubuntu 18.04
sudo apt-get update && sudo apt install openjdk-8-jdk
Download and install Android Studio
Download Android studio from https://developer.android.com/studio/index.html. and extract the contents, to install android studio `<android_studio>/bin/studio.sh` while installing android studio make sure you download Android SDK.
Now let's install Flutter
- Download flutter from here : https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_v1.9.1+hotfix.4-stable.tar.xz.
- Extract by using
tar xf <downloaded/location>/flutter_linux_v1.9.1+hotfix.4-stable.tar.xz
. - Open ~/.bashrc in nano editor by
sudo nano ~/.bashrc
. - Paste and save
export PATH="$PATH:/<flutter/extracted/location>/bin"
.
5.Then terminal typesource ~/.bashrc
.
6.Then you can runflutter doctor
command in your terminal.