or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions code example
Example 1: install flutter
$ sudo snap install flutter --classic
Example 2: flutter sdk
$ export PATH="$PATH:`pwd`/flutter/bin"
$ sudo snap install flutter --classic
$ export PATH="$PATH:`pwd`/flutter/bin"