how to add flutter to path code example

Example 1: path flutter

path: ^1.8.0

Example 2: path to flutter linux

/* If path does not appear in android studio do this... */

sudo snap install flutter --classic
sudo snap install flutter-gallery
flutter channel dev
flutter upgrade
flutter config --enable-linux-desktop

/* close the editor and reopen, try and create a new flutter project */
/* and now the path is there...  */
/* /home/(username)/snap/flutter/common/flutter */

Example 3: install flutter

C:\src>git clone https://github.com/flutter/flutter.git -b stable

Example 4: install flutter

$ sudo snap install flutter --classic