- 07 Mar, 2016 1 commit
-
-
Adam Barth authored
Mostly just adds some examples to match the examples with use for similar concepts in dart:ui.
-
- 04 Mar, 2016 2 commits
-
-
Adam Barth authored
We're going to remove DrawLooper from the canvas API soon.
-
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
-
- 01 Mar, 2016 1 commit
-
-
Ian Hickson authored
-
- 25 Feb, 2016 2 commits
-
-
Adam Barth authored
Currently the interface for recognizing gestures on text spans is pretty ugly, but hopefully we can improve it with time. Fixes #156
-
Adam Barth authored
We forgot to compare the lengths of the lists.
-
- 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.
-
- 11 Feb, 2016 2 commits
-
-
Jason Simmons authored
(see https://github.com/flutter/flutter/issues/1586)
-
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.
-
- 04 Feb, 2016 1 commit
-
-
Adam Barth authored
We want to normalize by w. Fixes #1585
-
- 03 Feb, 2016 1 commit
-
-
Kris Giesing authored
-
- 01 Feb, 2016 1 commit
-
-
Kris Giesing authored
-
- 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
-
- 30 Jan, 2016 1 commit
-
-
Adam Barth authored
This patch teaches the editing system to paint reasonable selections for single-line text fields, including for bidirectional text. Requires https://github.com/flutter/engine/pull/2318
-
- 27 Jan, 2016 1 commit
-
-
Hixie 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.
-
- 19 Jan, 2016 1 commit
-
-
Devon Carew authored
-
- 18 Jan, 2016 2 commits
-
-
Ian Hickson authored
As part of this: - A lot of classes got new lerp functions, including e.g. TextStyle. - Theme's constructor story got overhauled. You can now configure everything if you really want to, and we're better about defaults. - Material no longer automatically animates its background color. (It still does for its shadow.) - Tabs try to get the indicator color from the theme. - The fields in ThemeData got reordered for sanity. - Theme.== and Theme.hashCode got fixed. - Typography got a bit of a spring cleaning. Fixes #613.
-
Ian Hickson authored
Also, some trivial fixes for things that I found while playing with the rendering library directly.
-
- 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.
-
- 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
-