flutter/examples
Adam Barth 056766414c Use a named argument for Widget children
Previously we used a positional argument for widgets that had multiple
children. Now we use a named argument that defaults to an empty list.

Fixes #241
2016-01-11 13:17:09 -08:00
..
address_book Use a named argument for Widget children 2016-01-11 13:17:09 -08:00
fitness Use a named argument for Widget children 2016-01-11 13:17:09 -08:00
hello_world Rewire the pubspecs to use local paths 2015-11-06 22:46:52 -08:00
material_gallery Use a named argument for Widget children 2016-01-11 13:17:09 -08:00
mine_digger Use a named argument for Widget children 2016-01-11 13:17:09 -08:00
raw Remove last traces of onEvent. 2015-12-09 21:07:06 -08:00
rendering Merge pull request #1042 from Hixie/wordSpacing 2016-01-04 15:38:56 -08:00
stocks Use a named argument for Widget children 2016-01-11 13:17:09 -08:00
widgets Use a named argument for Widget children 2016-01-11 13:17:09 -08:00
.gitignore ignore .atom directories 2015-11-24 09:07:31 -08:00
BUILD.gn Remove demo_launcher 2015-10-12 14:20:28 -07:00
README.md Show new flutter tool and its use in the widgets dir. 2015-10-13 13:53:05 -07:00

Flutter Examples

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 getting started guide to install the flutter tool.)

Available examples include:

  • Hello, world. The hello world app is a basic app that shows the text "hello, world."

  • Stocks. The stocks app 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 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.