Add support for transforms to container

These transforms are currently very basic but they seem to mostly work.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/1152273004
This commit is contained in:
Adam Barth 2015-06-03 10:20:33 -07:00
parent 1777c1540d
commit 557b3e1ca4

View File

@ -10,7 +10,6 @@ class ContainerApp extends App {
UINode build() {
return new EventListenerNode(
new BlockContainer(children: [
new Rectangle(0xFF00FFFF, key: 1),
new Container(
padding: new EdgeDims.all(10.0),
margin: new EdgeDims.all(10.0),
@ -23,7 +22,6 @@ class ContainerApp extends App {
desiredSize: new sky.Size(double.INFINITY, 20.0)
)
])),
new Rectangle(0xFF0000FF, key: 3)
]),
onPointerDown: _handlePointerDown);
}