Web samples
Compiled versions of the samples are hosted at flutter.github.io/samples.
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 chromeWeb 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
This project uses peanut to build the samples and commit the output
to the gh-pages branch. To deploy, run these commands in the web/ directory:
$ flutter pub global activate peanut
$ flutter pub global run peanut
$ git push origin gh-pages:gh-pagesNote: flutter packages get must be run in each sample before running peanut.