flutter/examples
Adam Barth 7ab122e557 PopupMenuButton should lazily build menu items
Previously, the client of PopupMenuButton needed to build all the menu times

when building the PopupMenuButton. This can get expensive if, for example, each
item in a scrollable list has a popup menu associated with it.

Now the client passes a builder function to the PopupMenuButton that gets
invoked only when its time to show the menu items.
2016-04-06 13:28:09 -07:00
..
hello_android Merge pull request #3034 from jason-simmons/gradle_flx_refresh 2016-04-01 12:39:04 -07:00
hello_world Stop using a prebuilt APK 2016-03-14 13:32:00 -07:00
layers Fix spinning_mixed widget example, plus minor style fix 2016-03-31 12:56:14 -07:00
material_gallery PopupMenuButton should lazily build menu items 2016-04-06 13:28:09 -07:00
stocks PopupMenuButton should lazily build menu items 2016-04-06 13:28:09 -07:00
.gitignore Review 2016-02-12 08:27:47 -08:00
README.md rename some flutter command references in readmes 2016-02-17 07:34:59 -08: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 run. (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 run -t filename.dart.