mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
* update gallery and web samples compatable with SDK version 2a576b774c: Flutter 1.12.3-pre.38 • channel master • git@github.com:flutter/flutter.git Framework • revision 2a576b774c (2 hours ago) • 2019-11-15 13:15:05 -0800 Engine • revision b2640d97e7 Tools • Dart 2.7.0 * add preview image
Web samples
See the samples in action
Compiled versions of the samples are hosted at flutter.github.io/samples.
Building samples code
Go into one of the sample directories, get packages, and run using the chrome
device:
$ flutter channel dev
$ flutter upgrade
$ cd gallery
$ flutter pub get
$ flutter run -d chrome
Web support is available as a technical preview and is only available in the
dev or master channels.
You should see a message printing the URL to access: http://localhost:8080