flutter Android SDK version code example
Example 1: how to check flutter version
flutter --version
Example 2: flutter sdk
$ export PATH="$PATH:`pwd`/flutter/bin"
Example 3: Downloading Dart SDK from Flutter engine on checking flutter version
This error comes if you stopped the "flutter upgrade" command and the
installation is not completed.
Solution: if you have the last version zip then replacing it with current or
adding that to new folder and then update the env PATH will solve this issue.
Or download zip file from here https://flutter.dev/docs/get-started/install/windows
and follow the same process as above
Example 4: flutter change to beta channel to dev
$ flutter upgrade
Flutter 0.5.1 • channel beta • https://github.com/flutter/flutter.git
Framework • revision c7ea3ca377 (9 weeks ago) • 2018-05-29 21:07:33 +0200
Engine • revision 1ed25ca7b7
Tools • Dart 2.0.0-dev.58.0.flutter-f981f09760