- 12 Jun, 2016 1 commit
-
-
Adam Barth authored
We now use the `@required` annotation to encourage developers to explicitly set onPressed and onChanged callbacks to null when that would disable the widget. Fixes #287
-
- 28 Apr, 2016 1 commit
-
-
Adam Barth authored
Cassowary doesn't have any additional dependencies and this simplifies things. Fixes #2442
-
- 22 Apr, 2016 1 commit
-
-
Ian Hickson authored
The old names were getting silly and started stepping on valuable namespace. The new names are consistent and clear.
-
- 21 Apr, 2016 1 commit
-
-
Ian Hickson authored
Previously the widgets layer only provided a concrete binding, which makes it awkward to extend it compared to other bindings. This moves widgets to the same style as the other layers. In a subsequent patch I'll use this to make the tests layer saner.
-
- 20 Apr, 2016 1 commit
-
-
Ian Hickson authored
The 'routes' table is a point of confusion with new developers. By providing a 'home' argument that sets the '/' route, we can delay the point at which we teach developers about 'routes' until the point where they want to have a second route.
-
- 31 Mar, 2016 2 commits
-
-
Kris Giesing authored
-
Kris Giesing authored
Adds BuildOwner to manage the dirty list and build processing for widgets/elements, and adds a widget unit test to make sure separation is enforced. Fixes #2723
-
- 24 Mar, 2016 1 commit
-
-
Hixie authored
Previously, border with '0' was ambiguous. Sometimes we treated it as hairline borders, sometimes as "don't show the border", though even in the latter case we did some graphics work sometimes. Now we have an explicit BorderStyle.none flag to not draw the border efficiently.
-
- 21 Mar, 2016 1 commit
-
-
Ian Hickson authored
Also misc cleanup: - reorder members to be more consistent and fit the style guide - remove use of _Pair - made Variable.applyUpdate and Variable.owner public - added docs to Priority, tweaked the code a bit - added some docs to Result - removed the internal-error Result (replaced with asserts) - removed unused Results - made Result const - merged some files together since they had used privates a lot I'm sorry this is completely unreviewable. I did the move from `lib/*` to `lib/src/*` first, then did the `part`-to-`import` change, and then found out how many of the files involved privates, which I wasn't expecting. I can redo this as multiple commits if that would make it easier to review.
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 13 Mar, 2016 3 commits
-
-
Adam Barth authored
* justifyContent -> mainAxisAlignment * alignItems -> crossAxisAlignment * FlexJustifyContent -> MainAxisAlignment * FlexAlignItems -> CrossAxisAlignment Fixes #231
-
Adam Barth authored
* left -> leading (Removes an LTR bias) * center -> title (Widget was actually centered) * right -> actions (Removes an LTR bias, asymmetric with leading) Fixes #2348
-
Adam Barth authored
Fixes #2353
-
- 12 Mar, 2016 3 commits
-
-
Adam Barth authored
This patch renames StatelessComponent to StatelessWidget and StatefulComponent to StatefulWidget. Fixes #2308
-
Adam Barth authored
Fixes #1482
-
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.
-