- 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
-
- 30 Dec, 2015 1 commit
-
-
Ian Hickson authored
Also, trivial improvements to the baseline example that I made while unsuccessfully trying to reproduce a baseline bug.
-
- 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
-
- 09 Dec, 2015 1 commit
-
-
Adam Barth authored
Now with fewer lists.
-
- 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
-
- 04 Dec, 2015 1 commit
-
-
Adam Barth authored
-
- 26 Nov, 2015 1 commit
-
-
Hixie authored
Without this, you can't use AnimatedValue<FractionalOffset>, because its lerp() function uses the operators.
-
- 22 Nov, 2015 1 commit
-
-
Ian Hickson authored
-
- 20 Nov, 2015 2 commits
-
-
Adam Barth authored
Fixes #507
-
Tony Gentilcore authored
-
- 19 Nov, 2015 2 commits
-
-
Adam Barth authored
The repaint raindbow tints each recording with a rotating set of colors so you can see which pixels are repainting each frame.
-
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.
-
- 11 Nov, 2015 1 commit
-
-
Adam Barth authored
The input widget scrolls, so it should give its text loose constraints. That way the text ends up being its intrinsic size even if put in a context with tight constraints. Fixes #298
-
- 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
-
- 26 Oct, 2015 2 commits
-
-
Adam Barth authored
We were assuming that the text extended from 0.0 to its max content width. That's not correct for right-aligned text. Instead, we need to layout the text again at the width we want it to occupy.
-
Adam Barth authored
Now TextStyle has a boolean "inherit" value, which controls whether null values should use should inherit from the current default text style or whether they should use their initial values.
-
- 23 Oct, 2015 3 commits
-
-
Adam Barth authored
Also, delete all references to DOM APIs.
-
Adam Barth authored
-
Adam Barth authored
The NewTextPainter is still disabled by default. A future patch will flip the flag to enable it. This patch uses a new approach to writing bindings by encoding data into array buffers. This approach is more efficient than the existing IDL based approach. If this works out well, we should convert our other performance-sensitive interfaces to this approach in future patches.
-
- 19 Oct, 2015 3 commits
-
-
Adam Barth authored
Instead of requiring clients to use ui.ColorFilter, we show show the ColorFilter class, similar to what we do for Color.
-
Hixie authored
It turns out that an AnimatedContainer with a BoxDecoration would start animating every single time it was built, whether or not the container's decoration had changed.
-
Adam Barth authored
We now just use Dart properties, which is more idiomatic.
-
- 16 Oct, 2015 1 commit
-
-
Adam Barth authored
The goal is to follow the guidelines in https://github.com/flutter/engine/blob/master/sky/specs/style-guide.md#packages Fixes #1638
-
- 15 Oct, 2015 3 commits
-
-
Hans Muller authored
It's OK to just specify the colors list.
-
Hixie authored
Teach dumpRenderTree() to draw actual trees. Make the TextStyle output terser so it doesn't overflow the output. Make debugDumpApp() say what mode we're in (checked vs release). Hide lifecycle state from release mode dumps (since it's checked-only state).
-
Adam Barth authored
We had a typo in our CSS translation.
-
- 13 Oct, 2015 1 commit
-
-
Adam Barth authored
This lets you draw nine-patch images.
-
- 12 Oct, 2015 1 commit
-
-
Hixie authored
Add type annotations in many places. Fix some identifiers to have more lint-satisfying names. Make all operator==s consistent in style. Reorder some functions for consistency. Make ParentData no longer dynamic, and fix all the code around that.
-
- 10 Oct, 2015 2 commits
-
-
Adam Barth authored
-
Adam Barth authored
-