- 14 Feb, 2016 2 commits
-
-
Ian Hickson authored
I meant to check this in as part of https://github.com/flutter/flutter/pull/1852 but forgot to commit the local change, d'oh.
-
Ian Hickson authored
This makes it match the material spec more. https://www.google.com/design/spec/style/icons.html Fixes https://github.com/flutter/flutter/issues/1357
-
- 11 Feb, 2016 1 commit
-
-
Ian Hickson authored
Each layer is supposed to reexport the parts of the previous layer that are part of its API. - In painting.dart, export from dart:ui all the Canvas-related APIs that make sense to be used at higher levels, e.g. PaintingStyle. - Delete painting/shadows.dart. It was dead code. - In rendering/object.dart, export all of painting.dart. - In widgets/basic.dart, export all of painting.dart and animation.dart. Some classes in animation/ are renamed to make this less disruptive and confusing to the namespace. - Split out Stocks back into an import model rather than a part model, so that it's easier to manage its dependencies on a per-file basis. - Move Ticker to scheduler library. - Remove as many redundant imports as possible now. - Some minor nit picking cleanup in various files.
-
- 10 Feb, 2016 1 commit
-
-
Hixie authored
Factor out the HitTestBehavior logic so that RenderMetaData can use it. Use that in DragTarget.
-
- 09 Feb, 2016 2 commits
-
-
Adam Barth authored
This patch teaches block how to anchor its scrolling to the end rather than the start. Fixes #136
-
Adam Barth authored
These classes now share more code and have feature parity.
-
- 06 Feb, 2016 1 commit
-
-
Adam Barth authored
This patch includes documentation for transitions.dart and for scrollable.dart.
-
- 02 Feb, 2016 2 commits
-
-
Kris Giesing authored
-
yjbanov authored
-
- 01 Feb, 2016 3 commits
-
-
Kris Giesing authored
-
Kris Giesing authored
-
Adam Barth authored
They were out-of-date. Fixes #1391
-
- 31 Jan, 2016 1 commit
-
-
Adam Barth authored
Now the text input control knows how to move the caret when you tap inside the string. There's still some rough edges to polish up, but this patch is the first step. Fixes #108
-
- 29 Jan, 2016 2 commits
-
-
Adam Barth authored
This patch changes the default alignment of OverflowBox to center rather than having a bias towards the upper-left corner. Fixes #1236
-
Kris Giesing authored
-
- 27 Jan, 2016 1 commit
-
-
Hixie authored
-
- 22 Jan, 2016 1 commit
-
-
Adam Barth authored
Now you can colorize an Icon simply by proving a Color for the Icon.
-
- 15 Jan, 2016 1 commit
-
-
Ian Hickson authored
Have BoxDecoration default to one-line dumps Style nits in a rendering example
-
- 12 Jan, 2016 1 commit
-
-
Ian Hickson authored
If you change the RenderObject tree between frames, you'll assert if you subsequently hit test. So e.g. if you get two button presses back to back, and you mutate the tree synchronously in response to the first one, the second will assert. This adds an onBuild callback to WidgetToRenderBoxAdapter to make it easier to do the updates at the right time, i.e., during widget build. It'll be called whenever you rebuild the WidgetToRenderBoxAdapter itself, so all you have to do to use it is call setState() on whoever is building the WidgetToRenderBoxAdapter.
-
- 11 Jan, 2016 4 commits
-
-
Adam Barth authored
Previously we used a positional argument for widgets that had multiple children. Now we use a named argument that defaults to an empty list. Fixes #241
-
Adam Barth authored
We use the ScrollDirection for more than just scrolling. Fixes #151
-
Ian Hickson authored
Without this, FlatButton ends up using two RenderConstrainedBoxes back to back for no good reason.
-
Ian Hickson authored
This makes it more consistent with tightFor(), and also makes it easier to tighten both directions at once when you're not sure you will always do so (e.g. if you have a height and width that might be null, and want to tighten whichever ones aren't null).
-
- 10 Jan, 2016 1 commit
-
-
Ian Hickson authored
This will allow AnimatedPositioned to reuse all the same logic.
-
- 07 Jan, 2016 2 commits
-
-
Adam Barth authored
We'll probably renaming ScrollDirection to Axis in a future patch. Fixes #151
-
Ian Hickson authored
Make ancestorStateOfType() and ancestorRenderObjectOfType() support subclassing. Fixes https://github.com/flutter/flutter/issues/1087
-
- 04 Jan, 2016 1 commit
-
-
Adam Barth authored
We now support (vertically) scrollable grids with viewporting. If the scroll doesn't reveal any new rows, we execute the scroll with a repaint (i.e., no layout). If the scroll reveals a new row, we trigger a layout to change the set of materialized children in the viewport.
-
- 02 Jan, 2016 1 commit
-
-
Adam Barth authored
This patch make grid layout much more flexible. The behavior is factored out into a GridDelegate that's modeled after the custom layout delegates. The patch includes a MaxTileWidthGridDelegate that implements the old behavior and a FixedColumnCountGridDelegate that implements a grid layout with a fixed number of columns. Fixes #1048
-
- 31 Dec, 2015 1 commit
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/572
-
- 24 Dec, 2015 1 commit
-
-
Ian Hickson authored
- Add RenderFractionalTranslation, a render box that does a translation based on a FractionalOffset. - Make FractionalOffset more like Offset - dx/dy instead of x/y - add /, ~/, % - add .zero - Add alongOffset and alongSize to FractionalOffset so that you can easily apply FractionalOffset to Offsets and Sizes. (Better name suggestions welcome.) - Add transformHitTests boolean to RenderTransform (also on RenderFractionalTranslation), and to classes based on it. - Remove the fade from Dismissable. We can add it back using the builder-with-child pattern like Draggable if we need it. See #1003 for tha feature request. - Rename a bunch of variables in dismissable.dart. - Change the test for dismissable to not handle leftwards dismisses one pixel different from rightwards dismisses, and cleaned up the resulting effect on the test (mostly making sure we had the right number of pumps, with comments explaining what each one was). Fixes #174.
-
- 16 Dec, 2015 1 commit
-
-
Hixie authored
Fixes https://github.com/flutter/flutter/issues/948. I hope.
-
- 15 Dec, 2015 1 commit
-
-
Hans Muller authored
CustomMultiChildLayout and CustomOneChildLayout now use their delegate's shouldRelayout() method instead of a "token" to decide if layout is needed. MultiChildLayoutDelegate and OnChildLayoutDelegate are now expected to be stateless, i.e. they'll typically be built each time their custom layout widget is built. If the identical layout delegate is provided to a new custom layout, layout will not happen. Revised the bottom sheet implementation per the new custom layout classes. Removed a SizeObserver. Fixes #899
-
- 14 Dec, 2015 1 commit
-
-
Devon Carew authored
-
- 11 Dec, 2015 1 commit
-
-
Adam Barth authored
- Adds dartdoc for all the `of` functions. - Renames Image to RawImage. This widget is rarely used and shouldn't take up such a nice global name. Fixes #361
-
- 10 Dec, 2015 2 commits
-
-
Adam Barth authored
-
Adam Barth authored
These docs cover some undocumented enums and some of the basic layout widgets.
-
- 09 Dec, 2015 3 commits
-
-
Adam Barth authored
Now with fewer lists.
-
Adam Barth authored
-
Adam Barth authored
-
- 08 Dec, 2015 1 commit
-
-
Todd Volkert authored
-