- 12 Mar, 2016 3 commits
-
-
Hixie authored
And fix the zillion issues that uncovered.
-
Ian Hickson authored
This reverts commit f41b3411, reversing changes made to e33d8d96. This was a bad check-in due to my mangling uploading a new version of the branch from a different machine. This reverts https://github.com/flutter/flutter/pull/2639 and will be replaced by https://github.com/flutter/flutter/pull/2640
-
Hixie authored
And fix the zillion issues that uncovered.
-
- 11 Mar, 2016 4 commits
-
-
Adam Barth authored
If there's not enough height for the given aspect ratio, we now try to see if using the height to infer the width will fit the given constraints. The algorithm we use is similar to the one we use for RenderImage. Fixes #2620
-
Adam Barth authored
Transform applies its transform before painting, but sometimes you want the widget to layout after its transform has been applied. We can't handle general tranforms in this way because we can't couple width and height constriants, but we can handle certain rotations. Fixes #1214
-
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.
-
Adam Barth authored
This patch prepares us to pass a BuildContext to RenderObjectWidgets, which will make it possible to rebuild RenderObjectElements: * Delay creation of the render object until mount(). That will let us pass `this` to createRenderObject and have the inherited elements be initialized. * Cleanup widgets that take builder closures to prepare for their RenderObjectElement to be rebuilt more often. * Add a test for the interaction between inherited widgets and MixedViewport. Related to #2598
-
- 10 Mar, 2016 1 commit
-
-
Adam Barth authored
-
- 06 Mar, 2016 1 commit
-
-
Adam Barth authored
-
- 04 Mar, 2016 1 commit
-
-
Hans Muller authored
-
- 01 Mar, 2016 1 commit
-
-
Adam Barth authored
Fixes #1381
-
- 29 Feb, 2016 1 commit
-
-
Hixie authored
-
- 27 Feb, 2016 1 commit
-
-
Hixie authored
-
- 25 Feb, 2016 1 commit
-
-
Hixie authored
Also: - add operator==/hashCode/toString to ViewportDimensions - add toString to BindingBase - add toString and debugFillDescription to ScrollBehavior - fix a bug in the RawGestureDetectorState's replaceGestureRecognizers - rename MixedViewport's onExtentsUpdate to onExtentChanged - replace ExtentsUpdateCallback with ValueChanged<double> - remove a microtask for dispatching scroll start, since it did not appear to have any purpose - added dartdocs to Instrumentation until I understood it - made all event dispatch in Instrumentation drain microtasks
-
- 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.
-
- 18 Feb, 2016 1 commit
-
-
Hans Muller authored
-
- 17 Feb, 2016 1 commit
-
-
Hans Muller authored
-
- 16 Feb, 2016 1 commit
-
-
Adam Barth authored
-
- 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 3 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.
-