1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-09 06:18:49 +00:00
Files
samples/web/readme.md
Michael Thomsen 3098bf2c9a flutter pub (#86)
2019-05-22 16:54:09 +02:00

23 lines
727 B
Markdown

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`