- 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.
-
- 22 Dec, 2015 2 commits
-
-
Hans Muller authored
-
Hans Muller authored
-
- 21 Dec, 2015 1 commit
-
-
Devon Carew authored
-
- 20 Dec, 2015 3 commits
-
-
Seth Ladd authored
-
Seth Ladd authored
How's this?
-
Ian Hickson authored
-
- 18 Dec, 2015 1 commit
-
-
Kris Giesing authored
-
- 17 Dec, 2015 1 commit
-
-
Hixie authored
Use the same technique for updating compositing bits as layout and painting. This avoids walking the entire rendering tree when all you need to update is a small subtree.
-
- 16 Dec, 2015 7 commits
-
-
Hans Muller authored
The TabBarSelection change animation needs to start where the fling's drag gesture ended rather than from zero. The intial vlaue of progress for the TabBarSelection's performance is now converted from the range used during an interactive drag, to the range used when animating from the previously selected tab to the new one. TabBarSelection now requires a maxIndex parameter.
-
Hixie authored
Scaffold calls this to see if it should show a back arrow when there's no drawer. With this change, everything continues to work. Fixes styled_text and probably others.
-
Hixie authored
-
Jason Simmons authored
-
Ian Hickson authored
-
Hixie authored
Previously we didn't distinguish between canceling the menu (which popped the route with no return value, i.e. null) and explicitly selecting an item whose value is null (pop with value null). Both fired onChange(null). Now we box the return value so we can distinguish the two cases. I would have preferred to just disallow "null" as a value but it turns out people like being able to use "null" as a value for much the same reason we do, and it seems best for us to pay the complexity cost of boxing than having everyone else do it. :-)
-
Hixie authored
Fixes https://github.com/flutter/flutter/issues/948. I hope.
-
- 15 Dec, 2015 9 commits
-
-
Hixie authored
If we don't catch these exceptions, we get confused about what's going on with the pointers, and the app basically stops working.
-
Hans Muller authored
-
Hixie authored
-
Hixie authored
This is a workaround for: https://github.com/dart-lang/sdk/issues/25246
-
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
-
Kris Giesing authored
-
Devon Carew authored
-
Devon Carew authored
-
Jason Simmons authored
-
- 14 Dec, 2015 8 commits
-
-
Devon Carew authored
-
Jason Simmons authored
-
Hans Muller authored
-
Hans Muller authored
Swiping left or right in a TabBarView now changes the selected tab in the way it's supposed to. Currently swipe gestures that start while the selection change is underway are ignored. Will fix that in a separate change.
-
Devon Carew authored
-
Devon Carew authored
-
Ian Hickson authored
-
Ian Hickson authored
-
- 12 Dec, 2015 3 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
-
Ian Hickson authored
-
- 11 Dec, 2015 4 commits
-
-
Ian Hickson authored
Previously, applyPaintTransform() had to know how it was positioned in its parent, even though that's really the parent's responsibility. Now, applyPaintTransform() is given a child and applies the transform that it would give the child during paint. This makes it possible for applyPaintTransform() to work across coordinate system boundaries (e.g. box to sector, or view to box -- previously, view to box only worked because we explicitly skipped that step -- since view doesn't actually apply a transform, it doesn't really matter).
-
Ian Hickson authored
-
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
-
Jason Simmons authored
-