- 08 Mar, 2018 1 commit
-
-
Stefano Rodriguez authored
* Plug TextDirection into box_decoration background gradient * Add test
-
- 10 Jan, 2018 1 commit
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/12553 The root cause of https://github.com/flutter/flutter/issues/12553 was that when the refresh indicator went away, which happened after the avatars had started their image loads but before the avatars had loaded, the DecoratedBoxes, along with the rest of the list, got GlobalKey-reparented, which caused the RenderDecoratedBox objects to unregister from the DecorationImagePainters, but they never re-registered since the whole subtree was in a RepaintBoundary and was therefore not explicitly repainted when the tree got reattached. This fixes the bug by explicitly requiring any RenderDecoratedBox to repaint when it's reattached. This is probably a little more aggressive than required; we could probably expose a flag on Decoration that says whether or not the onChanged handler will ever be invoked, and only call markNeedsPaint if that's true, but we'll do that if it turns out that there's a performance issue here. (This patch also introduces a bunch of improved debugging information that I used to track down the bug.)
-
- 21 Dec, 2017 1 commit
-
-
Ian Hickson authored
This cleans up lerp, lerpFrom, lerpTo, and scale methods, and their documentation. Fixes https://github.com/flutter/flutter/issues/12377.
-
- 07 Dec, 2017 1 commit
-
-
Ian Hickson authored
This allows the scheduler library to depend on the services library and the painting library to depend on the scheduler library without the services library having to depend on the scheduler library. While I was at it I also cleaned up some of the binding logic: the licenses logic can now be overridden (and the test library does so), and the image cache can now be overridden as well.
-
- 20 Oct, 2017 2 commits
-
-
Ian Hickson authored
This avoids some code duplication that existed before and will make further modifications easier.
-
Ian Hickson authored
-
- 18 Oct, 2017 2 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
-
- 17 Oct, 2017 1 commit
-
-
Ian Hickson authored
This still is very limited in what it can lerp, but it sets the stage for arbitrary lerps later.
-
- 05 Oct, 2017 1 commit
-
-
Ian Hickson authored
-
- 03 Oct, 2017 1 commit
-
-
Ian Hickson authored
I'm about to add the BoxBorder and BorderDirectional classes to this new file, but figured it would make review easier if the move of the existing class happened first.
-
- 02 Oct, 2017 1 commit
-
-
Ian Hickson authored
Reorder the code, remove some redundant documentation, improve the interpolation logic.
-
- 24 Sep, 2017 1 commit
-
-
Ian Hickson authored
-
- 23 Sep, 2017 1 commit
-
-
Ian Hickson authored
After all my recent refactorings, some of the names were not really reasonable any more.
-
- 22 Sep, 2017 1 commit
-
-
Ian Hickson authored
This is the last class other than BoxDecoration in this file, so by extracting it we finally have all the parts of BoxDecoration extracted.
-
- 21 Sep, 2017 1 commit
-
-
Ian Hickson authored
To make it cleaner when we RTLify these.
-
- 20 Sep, 2017 1 commit
-
-
Ian Hickson authored
-
- 15 Sep, 2017 1 commit
-
-
Ian Hickson authored
This will enable both to be RTL'ed. Also, factor out common border painting code into paintBorder. Also, make Border paint uniform non-rounded borders using drawRect. Also, add some documentation about an issue that wasted an hour of my life. Also, factor out all the border painting code into TableBorder.paint.
-
- 12 Sep, 2017 1 commit
-
-
Ian Hickson authored
This will make it more tractable to convert them for RTL.
-
- 01 Sep, 2017 1 commit
-
-
Andrew Wilson authored
-
- 09 Aug, 2017 1 commit
-
-
Alexandre Ardhuin authored
* Bump Dart SDK to 1.25.0-dev.9.0 * add link to sdk bug
-
- 03 Aug, 2017 1 commit
-
-
Jacob Richman authored
Add Diagnosticable base class and documentation
-
- 27 Jul, 2017 1 commit
-
-
Ian Hickson authored
It was 8.0. It's now arbitrarily 18.0. Changing this required adjusting some tests. Adjusting the tests required debugging the tests. Debugging the tests required some tools to help debugging gesture recognizers and gesture arenas, so I added some. It also required updating some toString() methods which resulted in some changes to the tree diagnostics logic. Also I cleaned up some docs while I was at it.
-
- 25 Jul, 2017 1 commit
-
-
Jacob Richman authored
Refactor RenderObject.toStringDeep and Widget.toStringDeep code to use DiagnosticsNode.
-
- 12 Jun, 2017 1 commit
-
-
Ian Hickson authored
-
- 06 Jun, 2017 1 commit
-
-
Ian Hickson authored
-
- 05 Jun, 2017 2 commits
-
-
Alexandre Ardhuin authored
-
Alexandre Ardhuin authored
-
- 31 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 27 May, 2017 1 commit
-
-
Ian Hickson authored
Minor fixes throughout, e.g. removing trailing commas from the end of sample code expressions, changing headings to "sample code" more consistently, removing stale todos, fix typos in a private method name, minor grammar fixes, added some clarifications to CircularProgressIndicator, LinearProgressIndicator, CrossAxisAlignment, added some cross-references to various members, made it slightly clearer that layout algorithms are implementation details. Clarified "elevation" throughout. Added docs to InkResponse and InkWell. Added sample code for: SliverAppBar, Card, ListTile, EdgeInsets, Row, Column, CustomScrollView, ListView, SliverFixedExtentList, and SliverGrid. Fixes #10317. Fixes #10316. Fixes #10267. (sort of, see comment therein) Fixes #9331. (sort of, see comment therein) Fixes #9407. (sort of, see comment therein)
-
- 24 May, 2017 2 commits
-
-
Ian Hickson authored
...and rearrange a bunch of code so that all these arguments/members are always in the same order.
-
Ian Hickson authored
-
- 10 May, 2017 4 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
-
Alexandre Ardhuin authored
* enable always_require_non_null_named_parameters lint * Update home.dart
-
Chris Bracken authored
Also fixes a small typo.
-
- 09 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 28 Apr, 2017 1 commit
-
-
xster authored
Creates another Decoration for drawing outside the decorated box with a gradient to emulate the shadow. Lets the cupertino transition page's background be transparent. Fixes #9321
-
- 27 Apr, 2017 2 commits
-
-
xster authored
* Implement * Don’t scale the fractional offsets since it’s easier to use * review notes * fix nit
-
Ian Hickson authored
backgroundColor -> color backgroundImage -> image BackgroundImage -> DecorationImage
-