- 12 Mar, 2016 1 commit
-
-
Adam Barth authored
Fixes #1382
-
- 11 Mar, 2016 1 commit
-
-
Adam Barth authored
We'll need this for RTL support because the RTL state will live in the widget tree. Also, remove the `oldWidget` argument to updateRenderObject because there aren't any clients for it.
-
- 02 Mar, 2016 2 commits
-
-
Hixie authored
Makes it easier to use without a SizeObserver
-
Adam Barth authored
Rather than managing all the Material Design icons manually, we now manage them using an icon font. The icon font contains glyphs for each icon in an efficient vector format. This patch updates the FLX tooling to include the MaterialIcons font and updates the Icon widget to use the font instead of asset images. Fixes #2313 Fixes #2218 Fixes #2009 Fixes #994
-
- 24 Feb, 2016 1 commit
-
-
Adam Barth authored
Now we just have one TextSpan class that handles both simple strings, trees of children, and styling both. This approach simplifies the interface for most clients. This patch also removes StyledText, which was weakly typed and tricky to use correctly. The replacement is RichText, which is strongly typed and uses TextSpan.
-
- 16 Feb, 2016 1 commit
-
-
Adam Barth authored
This object represents a rect the auto-layout system.
-
- 15 Feb, 2016 2 commits
-
-
Adam Barth authored
This patch makes it easier to use the auto layout API: * We no longer use operator== because that requires an ugly cast by the API user. * Also, "leftEdge" is now just "left" for less verbosity. * AutoLayoutChild not implies its key from the AutoLayoutParam object. * We now correctly layout every child of a RenderAutoLayout object even if the solver doesn't flush any updates to that child.
-
Adam Barth authored
This patch teaches the widget framework how to use Cassowary-based autolayout. To integrate autolayout with widgets, I had to refactor how RenderAutoLayout worked a bit. Now RenderAutoLayout follows the same delegate pattern we use for custom paint and custom layout.
-
- 13 Feb, 2016 1 commit
-
-
Adam Barth authored
Our examples have been growing organically over time. This patch cleans them up to illustrate specific aspects of Flutter.
-