dart stable version code example

Example 1: dart version

command for check flutter & dart version
------------------------------
flutter --version
dart --version

Example 2: dartlang ubuntu

$ sudo apt-get update
$ sudo apt-get install apt-transport-https
$ sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
$ sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'

Example 3: dartlang ubuntu

$ sudo apt-get update
$ sudo apt-get install dart

Tags:

Misc Example