mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
617 B
29 lines
617 B
Web samples
|
|
|
|
## See the samples in action
|
|
|
|
Compiled versions of the samples are hosted at
|
|
[flutter.github.io/samples][samples].
|
|
|
|
## Building samples code
|
|
|
|
Go into one of the sample directories, get packages, and run using the `chrome`
|
|
device:
|
|
|
|
```console
|
|
$ 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`
|
|
|
|
[web]: https://flutter.dev/web
|
|
[samples]: https://flutter.github.io/samples/
|
|
|