flutter/examples
Hixie 1f5844ea70 Teach Block about padding.
It's common to want a scrolling viewport but with padding around the
contents. Teaching Block about this makes the places that do this
substantially simpler and further buries ScrollableViewport and
BlockBody (they're now only used in scrollable.dart).
2015-11-05 17:14:27 -08:00
..
address_book Rev pubspecs 2015-11-02 13:19:55 -08:00
fitness Teach Block about padding. 2015-11-05 17:14:27 -08:00
game Merge pull request #1889 from vlidholt/master 2015-11-04 13:12:23 -08:00
hello_world Rev pubspecs 2015-11-02 13:19:55 -08:00
mine_digger Rev pubspecs 2015-11-02 13:19:55 -08:00
raw Rev pubspecs 2015-11-02 13:19:55 -08:00
rendering Rev pubspecs 2015-11-02 13:19:55 -08:00
stocks Teach Block about padding. 2015-11-05 17:14:27 -08:00
widgets Replace Align shrinkWrap parameter with widthFactor and heightFactor 2015-11-05 16:45:05 -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.