- 18 May, 2016 1 commit
-
-
Adam Barth authored
-
- 12 May, 2016 2 commits
-
-
Matt Perry authored
-
pq authored
It's safe to remove the unneeded `void`s from setters since the blocking issues in the `always_declare_return_types` lint have been fixed (https://github.com/dart-lang/linter/). We can also safely flip the bit on `avoid_return_types_on_setters`.
-
- 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.
-
- 05 May, 2016 1 commit
-
-
Adam Barth authored
Fixes #3741
-
- 29 Apr, 2016 1 commit
-
-
Adam Barth authored
Instead of using properties, TextPainter now receives min and max width as parameters to layout. Also, this patch integrates the intrinsic sizing logic into the main layout function, which satisfies all the existing uses cases.
-
- 22 Apr, 2016 1 commit
-
-
Adam Barth authored
Fixes #3503
-
- 20 Apr, 2016 1 commit
-
-
Ian Hickson authored
-
- 15 Apr, 2016 1 commit
-
-
Ian Hickson authored
We're getting back to the point where we have a bunch of foundation APIs and it's getting confusing having them mixed with services/.
-
- 07 Apr, 2016 2 commits
-
-
Adam Barth authored
Previously we lerped them backwards. Fixes #2832
-
Adam Barth authored
Also, clean up a few interfaces that looked awkward when writing docs.
-
- 04 Apr, 2016 1 commit
-
-
Adam Barth authored
Fixes #1541
-
- 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.
-
- 29 Mar, 2016 1 commit
-
-
Adam Barth authored
Adds some names for common FractionalOffset values.
-
- 25 Mar, 2016 2 commits
-
-
Adam Barth authored
Now MediaQuery.of always returns a non-null value. By default, you get the values associated with the current ui.Window. Fixes #2894
-
Hixie authored
-
- 24 Mar, 2016 5 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.
-
Hixie authored
-
- 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 3 commits
- 17 Mar, 2016 1 commit
-
-
Adam Barth authored
We'll eventually remove Paragraph#paint. Fixes #2694
-
- 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.
-
- 11 Mar, 2016 2 commits
-
-
Ian Hickson authored
Well, all the easy ones, anyway. For some reason `// ignore:` isn't working for me so I've disabled lints that need that. Also disabled those that require a ton of work (which I'm doing, but not in this PR, to keep it reviewable). This adds: - avoid_init_to_null - library_names - package_api_docs - package_names - package_prefixed_library_names - prefer_is_not_empty - sort_constructors_first - sort_unnamed_constructors_first - unnecessary_getters_setters
-
Ian Hickson authored
Specifically: * Handle null styles in TextSpan without crashing in toString(). * Handle null children in TextSpan child lists without crashing in toString(). * Handle entirely empty TextSpans in toString() explicitly. * Assert that TextSpans don't contain nulls in various places. This is done more often than one might think necessary, because it turns out that TextSpan takes a (mutable) List for one of its arguments, so who knows what it will contain at any given time. By asserting all over the place, hopefully we'll catch it near the change if they do change it. * Add a RichText example to Stocks to exercise RichText and TextSpans. See also: https://github.com/flutter/flutter/issues/2514, https://github.com/flutter/flutter/issues/2519
-
- 09 Mar, 2016 1 commit
-
-
Adam Barth authored
-
- 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
-
- 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 1 commit
-
-
Adam Barth authored
We're going to remove DrawLooper from the canvas API soon.
-