Index: sky/examples/fn2/container.dart |
diff --git a/sky/examples/fn2/container.dart b/sky/examples/fn2/container.dart |
index a236a42e271e0b63dda9d76c81e29d8107b2ae99..b3c3c9d232b16c1d1bed7bdc8899a94f7f992fc7 100644 |
--- a/sky/examples/fn2/container.dart |
+++ b/sky/examples/fn2/container.dart |
@@ -14,11 +14,11 @@ class ContainerApp extends App { |
padding: new EdgeDims.all(10.0), |
margin: new EdgeDims.all(10.0), |
desiredSize: new sky.Size(double.INFINITY, 100.0), |
- decoration: new BoxDecoration(backgroundColor: 0xFF00FF00), |
+ decoration: new BoxDecoration(backgroundColor: sky.Color.green), |
child: new BlockContainer( |
children: [ |
new Container( |
- decoration: new BoxDecoration(backgroundColor: 0xFFFFFF00), |
+ decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFFFFFF00)), |
abarth-chromium
2015/06/03 19:31:18
Should we do all the CSS colors?
|
desiredSize: new sky.Size(double.INFINITY, 20.0) |
) |
])), |