flutter/examples/rendering
Hixie 1a0484cc7e Improve exceptions and asserts for rendering lib.
* Use actual exceptions rather than assertions containing code
  containing strings when trying to give messages to authors.
* Introduce RenderingError which is an AssertionError that takes a
  string argument, to support the above.
* Provide a BoxDimensions.hasBoundedWidth/hasBoundedHeight API.
* Document BoxDimensions.isNormalized.
* Provide more useful information when we assert isNormalized and find
  that it is false.
* When finding the size is infinite, crawl the tree to figure out which
  render box is likely responsible for the infinite constraints.
* Provide more information when size doesn't match the constraints.
* Provide more information when intrinsic dimension methods violate the
  constraints.
* Only spam a huge amount of information for the first exception from
  the rendering library. I've noticed a lot of people looking at the
  last exception printed rather than the first and that's very
  misleading -- after the rendering library hits an exception, all bets
  are off regarding what'll happen in the future. All kinds of asserts
  might fire.
* Improve docs around the debug methods and flags for the above.
* Make Block default to have no children. Previously, giving no children
  crashed with a confusing message about a null deref in an assert.
2016-02-05 13:55:40 -08:00
..
lib Improve exceptions and asserts for rendering lib. 2016-02-05 13:55:40 -08:00
align_items.dart Refactor bindings. 2015-12-13 23:34:41 -08:00
baseline.dart Hook up wordSpacing and inline height. 2015-12-30 12:05:44 -08:00
borders.dart Refactor bindings. 2015-12-13 23:34:41 -08:00
flex.dart Refactor bindings. 2015-12-13 23:34:41 -08:00
interactive_flex.dart Update example to use ImageInfo 2016-02-01 14:04:15 -08:00
justify_content.dart Refactor bindings. 2015-12-13 23:34:41 -08:00
pubspec.yaml Rewire the pubspecs to use local paths 2015-11-06 22:46:52 -08:00
render_grid.dart Generalize grid layout 2016-01-02 14:30:45 -08:00
render_paragraph.dart Refactor bindings. 2015-12-13 23:34:41 -08:00
sector_layout.dart Refactor bindings. 2015-12-13 23:34:41 -08:00
shadowed_box.dart More elaborate RenderBox example 2016-01-17 22:31:41 -08:00
simple_autolayout.dart Refactor bindings. 2015-12-13 23:34:41 -08:00
spinning_flex.dart Refactor bindings. 2015-12-13 23:34:41 -08:00
touch_demo.dart Refactor bindings. 2015-12-13 23:34:41 -08:00
transform.dart Refactor bindings. 2015-12-13 23:34:41 -08:00