rename some flutter command references in readmes

This commit is contained in:
Devon Carew
2016-02-17 07:34:59 -08:00
parent 6a6b6539c8
commit 04eee82dd2
5 changed files with 14 additions and 14 deletions

View File

@@ -1,23 +1,23 @@
Flutter Examples
================
This directory contains several examples of using Flutter. Each of these is an
This directory contains several examples of using Flutter. Each of these is an
individual Dart application package.
To run a sample with the `flutter` tool, run `pub get` inside its directory,
then run `flutter start`. (See the
then run `flutter run`. (See the
[getting started guide](https://flutter.io/getting-started/) to install
the `flutter` tool.)
Available examples include:
- *Hello, world.* The [hello world app](hello_world) is a basic app that shows
- **Hello, world** The [hello world app](hello_world) is a basic app that shows
the text "hello, world."
- *Stocks.* The [stocks app](stocks) is an example of a typical mobile app
- **Stocks** The [stocks app](stocks) is an example of a typical mobile app
built using Flutter. The app shows a list of all the stocks in the NASDAQ.
- *Widgets.* The [widget apps](widgets) demonstrate a number of Flutter widgets
- **Widgets** The [widget apps](widgets) demonstrate a number of Flutter widgets
so you can experiment with them in a simple container. There is no main.dart
in this directory because each file is a standalone sample. To run a
particular file, use `flutter start -t filename.dart`.
particular file, use `flutter run -t filename.dart`.

View File

@@ -18,5 +18,5 @@ Flutter's layered architecture.
To run each example, use the `-t` argument to the `flutter` tool:
```
flutter start -t widgets/spinning_square.dart
flutter run -t widgets/spinning_square.dart
```

View File

@@ -4,7 +4,7 @@ Small examples of the Flutter widget framework
To run these, open a terminal in this directory and use the following command:
```bash
flutter start --checked -t foo.dart
flutter run -t foo.dart
```
...where `foo.dart` is the file you want to run.