Update: Sorry. This is a work in progress. You can also follow the instructions to install Visual Studio Code here, instead of the repos I mention in the video:
https://code.visualstudio.com/docs/se...
This is a step by step installation of Visual Studio Code (VSC) for Fedora and Debian/Ubuntu distributions. It may be preferable to install the Free software version (vscode) rather than the official Visual Studio Code from Microsoft, since the vscode may update with new releases, while VSC does not.
environment variables. copy and paste into .bashrc. change "user-name" to your own user name, but leave everything else as is:
export PATH=${PATH}:/home/user-name/dart-sdk/bin
export PATH="$PATH":"~/.pub-cache/bin"