Dart & Flutter
Macos installation
brew tap dart-lang/dart
brew install dart --with-content-shell --with-dartium
Updating
brew update
brew upgrade dart
brew cleanup dart
Flutter
See here to install.
git clone -b alpha https://github.com/flutter/flutter.git
export PATH=`pwd`/flutter/bin:$PATH
flutter doctor
int fib(int n) => (n > 2) ? (fib(n - 1) + fib(n - 2)) : 1;
void main() {
print('fib(20) = ${fib(20)}');
}
https://www.youtube.com/watch?v=OLjyCy-7U2U
http://www.newthinktank.com/2015/09/learn-dart-one-video/
A two part Flutter overview:
Some nice Medium posts on Flutter