Change sdk directory flutter code example Example: install flutter in ubuntu $ sudo snap install flutter --classic