- 13 Oct, 2015 2 commits
-
-
Hixie authored
Also, fix warnings in rendering/sector_layout.dart Also, fix hit testing in rendering/sector_layout.dart Also, add WidgetToRenderBoxAdapter Also, make the rendering library debugging tools more resilient to dumping stuff before layout is complete.
-
Adam Barth authored
This lets you draw nine-patch images.
-
- 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 3 commits
-
-
Adam Barth authored
-
Adam Barth authored
-
Adam Barth authored
-
- 09 Oct, 2015 1 commit
-
-
Adam Barth authored
These are now part of material.dart.
-
- 08 Oct, 2015 1 commit
-
-
Hans Muller authored
Added horizontal and vertical alignment properties to Stack so that the origin of non-positioned children can be specified. Currently all of the non-positioned children just end up with their top-left at 0,0. Now, for example, you can center the children by specifying verticalAlignment: 0.5, horizontalAlignment: 0.5. Added IndexedStack which only paints the stack child specified by the index property. Since it's a Stack, it's as big as the biggest non-positioned child. This component will be essential for building mobile drop down menus. Added a (likely temporary) example that demonstrates IndexedStack.
-
- 06 Oct, 2015 1 commit
-
-
Adam Barth authored
In the vast majority of cases, folks should be interacting with the Widget rather than its State. Fixes #267
-
- 05 Oct, 2015 1 commit
-
-
Hixie authored
Also, fix comment mentioning syncConstructorArguments.
-
- 03 Oct, 2015 2 commits
-
-
Adam Barth authored
Fixes #1372
-
Hans Muller authored
The ShaderMask widget enables rendering its child with an alpha channel defined by a Shader. For example if the Shader was a linear gradient in alpha then the component behind the ShaderMask's child would appear wherever the gradient's alpha value was not fully opaque. The card_collection.dart example demonstrates this. Select the "Let the sun shine" checkbox in the app's drawer.
-
- 02 Oct, 2015 1 commit
-
-
Adam Barth authored
This widget is used in Material and Drawer. We don't currently support animating towards null, but we can add that in a future patch.
-
- 01 Oct, 2015 3 commits
-
-
Hixie authored
-
Hixie authored
This is step 1 in making it possible to have hero transitions between routes. To make it possible for a route to have an "exit" animation when a new route has been pushed on top of it, we provide the next route's AnimationPerformance to the build function. It's null if there is no next route or if the next route has no performance.
-
Adam Barth authored
-
- 21 Sep, 2015 1 commit
-
-
Adam Barth authored
All the use cases for EventDisposition are now addressed by the gesture detection system.
-
- 18 Sep, 2015 1 commit
-
-
Hixie authored
-
- 17 Sep, 2015 1 commit
-
-
Adam Barth authored
What's important about this code is that it's presenting services outside the VM, not the particular technology used to present the services.
-
- 14 Sep, 2015 2 commits
-
-
Collin Jackson authored
This reverts commit 7592213df29066cd357eaa4fffe4a19ed3bae189.
-
Adam Barth authored
Almost done adding dartdoc to the rendering layer.
-
- 11 Sep, 2015 1 commit
-
-
Collin Jackson authored
-
- 08 Sep, 2015 2 commits
-
-
Adam Barth authored
These files really belong on other libraries.
-
Adam Barth authored
-
- 05 Sep, 2015 1 commit
-
-
Adam Barth authored
Turns out many of the functions on BoxConstraints weren't used or had callers that could easily be updated to other functions. I've added dartdoc to all the public functions as well as renamed some functions that had similar names but did different things.
-
- 04 Sep, 2015 4 commits
-
-
Adam Barth authored
This patch makes Center and Align expand by default, which is usually what you want. It also adds a ShrinkWrap option to let you shrink wrap in one or both directions if that's really what you want to do.
-
Adam Barth authored
They're just as crazy in this system as they are in the web.
-
Alex Fandrianto authored
(optional param default value + newlines)
-
Alex Fandrianto authored
widget is actively ignoring or not by changing a boolean instead of the tree structure. ignoring defaults to true.
-
- 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.
-
- 31 Aug, 2015 3 commits
-
-
Adam Barth authored
This patch makes ParentDataNode less general purpose and instead teaches Flex and Stack how to program the parent data for their children. We used to have this general system because parent data used to carry CSS styling, but we don't need it anymore. Fixes #957
-
Adam Barth authored
Also fixes #937.
-
Adam Barth authored
This parameter makes it easier to do math when you don't want to center your tranform at (0, 0).
-
- 29 Aug, 2015 1 commit
-
-
Adam Barth authored
Also, add asserts that the text has layout before being painted.
-
- 28 Aug, 2015 2 commits
-
-
Hixie authored
Add a way of having keys based on numeric types or DateTimes by having a ValueKey<T> class. Remove the redundant ways of declaring things, except for leaving one shorthand -- you can say `new Key(s)` instead of `new ValueKey<String>(s)`.
-
Hixie authored
Stop exporting framework.dart from basic.dart, since we now have widgets.dart exporting all of framework.dart.
-
- 27 Aug, 2015 2 commits
-
-
Eric Seidel authored
@abarth
-
Adam Barth authored
For debugging #801
-
- 26 Aug, 2015 1 commit
-
-
Hixie authored
- add debugDescribeSettings to a few classes that were missing it - fix some minor bugs in RenderShrinkWrapWidth and ShrinkWrapWidth - introduce RenderShrinkWrapHeight and ShrinkWrapHeight
-