updating path for flutter
$ export PATH="$PATH:[PATH_OF_FLUTTER_GIT_DIRECTORY]/bin"
Source: flutter.dev
flutter update path
export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin"
echo $PATH
which flutter
Source: flutter.dev
flutter update path
export PATH="$PATH:[PATH_OF_FLUTTER_GIT_DIRECTORY]/bin"
Source: docs.flutter.dev