update your path flutter windows code example
Example: flutter update path
export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin"
echo $PATH
which flutter
export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin"
echo $PATH
which flutter