Ian Hickson 1a049c14e5 Catch un-normalized BoxConstraints
Add BoxConstraints.isNormalized feature.

Use this feature in asserts in all the intrinsic dimension methods, in
various relevant BoxConstraints methods, and in layout().

Wrap the _DebugSize logic in BoxConstraints.constrain() in an assert
block to avoid a branch in release mode.

Remove the logic in BoxConstraints.isSatisfiedBy() that dealt with
non-normalized values.

Add BoxConstraints.normalize().

Make RenderCustomOneChildLayoutBox.performLayout() only set
parentUsesSize on the child if the constraints aren't tight.
2015-12-08 21:35:39 -08:00
..
2015-12-04 11:23:16 -08:00
2015-12-04 22:42:38 -08:00
2015-12-07 19:24:25 -08:00
2015-11-24 09:07:31 -08:00
2015-10-12 14:20:28 -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.