- 29 Mar, 2016 1 commit
-
-
Adam Barth authored
Adds some names for common FractionalOffset values.
-
- 25 Mar, 2016 1 commit
-
-
Hixie authored
-
- 24 Mar, 2016 4 commits
-
-
Adam Barth authored
This matches the pattern from Rect. I've left EdgeInsets.TRBL marked as deprecated to give clients a chance to update. Fixes #2860
-
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.
-
Hixie authored
-
Hixie authored
Also, more docs. Also, expose isUniform.
-
- 21 Mar, 2016 1 commit
-
-
Ian Hickson authored
As usual, as I was doing this I ran into some stuff that seemed hard to document as-is and so I changed it. In this case, in the "http" library. The new code is more or less equivalent, I think, but the resulting documentation makes it more obvious that it's wrong...
-
- 18 Mar, 2016 1 commit
-
-
Hixie authored
-
- 16 Mar, 2016 1 commit
-
-
Adam Barth authored
These were using Offsets, but they're really FractionalOffsets. Fixes #2318
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 12 Mar, 2016 4 commits
-
-
Adam Barth authored
Fixes #1382
-
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.
-
- 08 Mar, 2016 1 commit
-
-
Adam Barth authored
We need to apply the alignment to the source rect because the ouput rect fills the destination rect. Fixes #1514
-
- 04 Mar, 2016 1 commit
-
-
Hans Muller authored
-
- 03 Mar, 2016 1 commit
-
-
Kris Giesing authored
Fixes #2337
-
- 02 Mar, 2016 1 commit
-
-
Hixie authored
Makes it easier to use without a SizeObserver
-
- 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.
-
- 03 Feb, 2016 1 commit
-
-
Kris Giesing authored
-
- 01 Feb, 2016 1 commit
-
-
Kris Giesing authored
-
- 23 Jan, 2016 1 commit
-
-
Adam Barth authored
Now the label animates from its inline position to above the text and the focus highlight grows into place.
-
- 15 Jan, 2016 1 commit
-
-
Ian Hickson authored
Have BoxDecoration default to one-line dumps Style nits in a rendering example
-
- 14 Jan, 2016 1 commit
-
-
Ian Hickson authored
Some more asserts and toString info. Reorder some code to group lerp-related functions.
-
- 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.
-
- 14 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 12 Dec, 2015 1 commit
-
-
Ian Hickson 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
-
-
Ian Hickson authored
-
Florian Loitsch authored
-
- 08 Dec, 2015 1 commit
-
-
Ian Hickson authored
Factor out a reusable interface called Decoration from BoxDecoration. Make all the consumers of BoxDecoration and the erstwhile BoxPainter into consumers of Decoration. Make a BoxPainter be something you get from a Decoration, rather than something to which you pass a BoxDecoration. Rename Shape to BoxShape now that it's documented specifically as applying to boxes. Move EdgeDims to its own file. Move FractionalOffset up so that it's with the other helper classes in its file rather than alone at the end. Minor change to RenderClipOval's hit testing to avoid taking an unnecessary square root. Rename BoxDecorationPosition to DecorationPosition since RenderDecoratedBox now takes any Decoration. Implement hit testing for rounded rects. Rename AnimatedBoxDecorationValue to AnimatedDecorationValue, and make it support lerping across any Decoration (by deferring to the objects involved).
-
- 05 Dec, 2015 2 commits
-
-
Adam Barth authored
Fixes #766
-
Adam Barth authored
Fixes #158
-
- 26 Nov, 2015 1 commit
-
-
Hixie authored
Without this, you can't use AnimatedValue<FractionalOffset>, because its lerp() function uses the operators.
-
- 20 Nov, 2015 1 commit
-
-
Tony Gentilcore authored
-
- 19 Nov, 2015 1 commit
-
-
Adam Barth authored
We already had the code to implement this feature. We just needed to plumb it out to the widget API.
-
- 18 Nov, 2015 1 commit
-
-
Hans Muller authored
Shadows now render as three seprate MaskFilter.blur components per the most recent Material spec. The shadows Map was replaced by a similar Map called elevationToShadow with entries that match the 10 elevations specifed by http://www.google.com/design/spec/what-is-material/elevation-shadows.html. The "level" property (many classes) is now called "elevation", to match the Material spec. BoxShadow now includes a spreadRadius parameter - as in CSS box-shadow. Renamed the BoxShadow blur property to blurRadius to further align BoxShadow with CSS box-shadow.
-
- 04 Nov, 2015 1 commit
-
-
Hans Muller authored
-
- 03 Nov, 2015 1 commit
-
-
Jason Simmons authored
-
- 27 Oct, 2015 1 commit
-
-
Adam Barth authored
We still use special-purpose typedefs in the gesture code for symmetry with other gesture callbacks. Fixes #1827
-