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.
samples/web/readme.md

23 lines
727 B

Samples for [Flutter for web](https://flutter.dev/web).
## See the samples in action
Compiled versions of the samples are hosted at [flutter.github.io/samples](https://flutter.github.io/samples/).
## Building samples code
Make sure you have configured the `webdev` tool.
- [With the Flutter SDK installed](https://github.com/flutter/flutter_web#install-the-flutter_web-build-tools).
- [With the Dart SDK installed](https://dart.dev/tools/webdev#using-webdev-and-build_runner-commands).
Go into one of the sample directories, get packages, and run.
```console
$ cd gallery
$ flutter pub get # or `pub get` with the Dart SDK
$ webdev serve
```
You should see a message printing the URL to access: `http://localhost:8080`