README.md 1.31 KB
Newer Older
1 2
Flutter Examples
================
3

4
This directory contains several examples of using Flutter. Each of these is an
5
individual Dart application package.
6

7
To run an example, use `flutter run` inside that example's directory.  See the
Seth Ladd's avatar
Seth Ladd committed
8
[getting started guide](https://flutter.io/getting-started/) to install
9
the `flutter` tool.
10

11 12
**Tip:** To see examples of how to use a specific Flutter framework class,
copy and paste a URL with this format in your browser. Replace `foo` with the
qchong's avatar
qchong committed
13
classname you are searching for (for example, here's the [query](https://github.com/flutter/flutter/search?q=path%3Aexamples+new+AppBar) for examples of
14 15 16
the [`AppBar`](https://docs.flutter.io/flutter/material/AppBar-class.html) class).

```
qchong's avatar
qchong committed
17
https://github.com/flutter/flutter/search?q=path%3Aexamples+new+foo
18 19
```

20 21
Available examples include:

22
- **Hello, world** The [hello world app](hello_world) is a basic app that shows
23
  the text "hello, world."
24

25
- **Flutter gallery** The [flutter gallery app](flutter_gallery) showcases
26
  Flutter's implementation of [material design](https://material.google.com/).
27

28 29 30 31
- **Layers** The [layers vignettes](layers) show how to use the various layers
  in the Flutter framework. There is no main.dart in this directory because each
  file is a standalone example. To run a particular file, use
  `flutter run -t filename.dart`.