Flutter Installation - LeandroTheDev/arch_linux GitHub Wiki
Download sdk from official
Extract it
- tar -xvf flutter_linux_0.0.0-stable.tar.xz
Add it to the bash initialization
- vim ~/.bashrc
Add
export PATH="$HOME/path/to/extracted/bin:$PATH"
export CHROME_EXECUTABLE=/usr/bin/chromium
-
Chrome users: export CHROME_EXECUTABLE=/usr/bin/google-chrome-stable
Building for linux
- sudo pacman -S cmake ninja clang
Fixing the goddamn dart length
- VSCODE: preferences -> settings ->
dart.lineLength