- 21 Jun, 2016 1 commit
-
-
Ian Hickson authored
Anywhere that accepted IconData now accepts either an Icon or an ImageIcon. Places that used to take an IconData in an `icon` argument, notably IconButton and DrawerItem, now take a Widget in that slot. You can wrap the value that used to be passed in in an Icon constructor to get the same result. Icon itself now takes the icon as a positional argument, for brevity. ThemeData now has an iconTheme as well as a primaryIconTheme, the same way it has had a textTheme and primaryTextTheme for a while. IconTheme.of() always returns a value now (though that value itself may have nulls in it). It defaults to the ThemeData.iconTheme. IconThemeData.fallback() is a new method that returns an icon theme data structure with all fields filled in. IconTheme.merge() is a new constructor that takes a context and creates a widget that mixes in the new values with the inherited values. Most places that introduced an IconTheme widget now use IconTheme.merge. IconThemeData.merge and IconThemeData.copyWith act in a way analogous to the similarly-named members of TextStyle. ImageIcon is introduced. It acts like Icon but takes an ImageProvider instead of an IconData. Also: Fix the analyzer to actually check the stocks app.
-
- 07 May, 2016 1 commit
-
-
Adam Barth authored
TextAlign applies to a whole paragraph instead of applying to an individual text span. This patch moves the property out of TextStyle and into a separate property on Text and RichText.
-
- 22 Apr, 2016 1 commit
-
-
Adam Barth authored
Fixes #3503
-
- 07 Apr, 2016 1 commit
-
-
Adam Barth authored
Also, clean up a few interfaces that looked awkward when writing docs.
-
- 31 Mar, 2016 1 commit
-
-
Adam Barth authored
We now explicitly mention the possibility of a memory leak. Fixes #2978
-
- 30 Mar, 2016 2 commits
-
-
Adam Barth authored
Fixes #2918
-
Adam Barth authored
Also, pass font information to ui.ParagraphStyle.
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 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.
-
- 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.
-
- 19 Jan, 2016 1 commit
-
-
Devon Carew authored
-
- 18 Jan, 2016 1 commit
-
-
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.
-
- 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.
-
- 10 Dec, 2015 2 commits
-
-
Ian Hickson authored
-
Florian Loitsch authored
-
- 09 Dec, 2015 1 commit
-
-
Adam Barth authored
Now with fewer lists.
-
- 04 Dec, 2015 1 commit
-
-
Adam Barth authored
-
- 26 Oct, 2015 1 commit
-
-
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.
-
- 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 2 commits
-
-
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.
-
- 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
-
- 09 Oct, 2015 1 commit
-
-
Adam Barth authored
This patch makes it easier to experiment with work on ParagraphBuilder.
-
- 17 Sep, 2015 1 commit
-
-
Adam Barth authored
We removed this value from the engine because it's not useful.
-
- 10 Sep, 2015 1 commit
-
-
Adam Barth authored
These are now declared in dart:sky as part of ParagraphBuilder.
-
- 08 Sep, 2015 1 commit
-
-
Adam Barth authored
-
- 31 Aug, 2015 1 commit
-
-
Adam Barth authored
-
- 03 Aug, 2015 1 commit
-
-
Adam Barth authored
-
- 31 Jul, 2015 1 commit
-
-
Adam Barth authored
We were applying the style to the RenderInline but we actually needed to apply it to the RenderParagraph. The lineHeight property had the same problem.
-
- 28 Jul, 2015 2 commits
-
-
Chinmay Garde authored
-
Chinmay Garde authored
-
- 18 Jul, 2015 1 commit
-
-
Collin Jackson authored
-
- 16 Jul, 2015 1 commit
-
-
Collin Jackson authored
-