- 01 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 18 Sep, 2015 1 commit
-
-
Adam Barth authored
Also, introduce Colors and Typography to hold the material colors and the typography declarations. Previously we expected clients of these libraries to import them into a namespace, but that doesn't play nice with re-exporting them from material.dart.
-
- 17 Sep, 2015 1 commit
-
-
Hixie authored
We need a short name more often than a tree dump, so toString() should be the short name. Make debugDumpRenderTree() a global like debugDumpApp(), for consistency. It's hard to remember the SkyBinding.instance.dumpRenderTree() incantation. Fixes #1179.
-
- 03 Sep, 2015 1 commit
-
-
Adam Barth authored
-
- 02 Sep, 2015 1 commit
-
-
Adam Barth authored
Code outside of package:sky should import this code using package:sky/rendering.dart package:sky/widgets.dart Moving this code into the "src" directory is a convention that signifies that and it cleans up the generated dartdoc because the libraries in the src directory aren't included in the generated documentation. Instead, the classes are documented in the widgets.dart and rendering.dart libraries.
-
- 20 Aug, 2015 2 commits
-
-
Adam Barth authored
This function just calls remove(). Also, have Widget do the recursive remove walk by calling walkChildren.
-
Adam Barth authored
We now use the term `renderObject`. Fixes #708
-
- 17 Aug, 2015 1 commit
-
-
Adam Barth authored
The name `root` is confusing because this value isn't the root of anything. It's just the associated `RenderObject` instance.
-
- 14 Aug, 2015 1 commit
-
-
Adam Barth authored
This generalization will let us implement other alogorithims that need to walk the RenderObject tree.
-
- 13 Aug, 2015 2 commits
-
-
Adam Barth authored
We'll need this for compositing because we need to switch out the sky.Canvas when we switch compositing layers.
-
Adam Barth authored
Previously we were doing the bounds testing for hit tests in the parent, but that doesn't work if the child paints at a location other than 0.0, 0.0. Now we do the bounds check in the child. This also simplifies Scaffold's hit testing. Fixes #558
-
- 11 Aug, 2015 1 commit
-
-
Matt Perry authored
This introduces the concept of an Anchor, which you can use to link transitions together. I've used this in the Fitness and Stocks apps to link the FAB and SnackBar to animate together by sharing the SlideTransition. I also fixed the Scaffold hit testing code to apply sub-widget transforms, so it works with Transformed nodes.
-
- 04 Aug, 2015 1 commit
-
-
Adam Barth authored
It was confusing to have both widget.dart and widgets.dart
-
- 28 Jul, 2015 2 commits
-
-
Chinmay Garde authored
-
Chinmay Garde authored
-
- 22 Jul, 2015 1 commit
-
-
Hixie authored
This fixes some theoretical bugs whereby we were using hashCode to try to get unique keys for objects, but really we wanted object identity. It also lays the groundwork for a new GlobalKey concept. I tried to keep the impact on the code minimal, which is why the "Key" constructor is actually a factory that returns a StringKey. The code has this class hierarchy: ``` KeyBase | Key--------------+---------------+ | | | StringKey ObjectKey UniqueKey ``` ...where the constructors are Key and Key.stringify (StringKey), Key.fromObjectIdentity (ObjectKey), and Key.unique (UniqueKey). We could instead of factory methods use regular constructors with the following hierarchy: ``` KeyBase | LocalKey---------+---------------+ | | | Key ObjectIdentityKey UniqueKey ``` ...with constructors Key, Key.stringify, ObjectIdentityKey, and UniqueKey, but I felt that that was maybe a more confusing hierarchy. I don't have a strong opinion on this.
-
- 16 Jul, 2015 1 commit
-
-
Collin Jackson authored
-