Index: sky/sdk/lib/framework/components2/icon.dart |
diff --git a/sky/sdk/lib/framework/components2/icon.dart b/sky/sdk/lib/framework/components2/icon.dart |
index 08913b05d4a83e9fb9cc397f029fadd7d195660c..ed4d5a78b02b00d91455908ce7837cb6015dccdd 100644 |
--- a/sky/sdk/lib/framework/components2/icon.dart |
+++ b/sky/sdk/lib/framework/components2/icon.dart |
@@ -30,7 +30,7 @@ class Icon extends Component { |
// TODO(jackson): Use a real image. |
return new Container( |
desiredSize: new sky.Size(size.toDouble(), size.toDouble()), |
- decoration: new BoxDecoration(backgroundColor: 0xFFFF0000) |
+ decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFFFF0000)) |
); |
// return new Image(width: size, height: size, |
// src: '${kAssetBase}/${category}/2x_web/ic_${subtype}_${size}dp.png'); |