Index: sky/framework/components/icon.dart |
diff --git a/sky/framework/components/icon.dart b/sky/framework/components/icon.dart |
index 3b0f9d0fbeb71a6cb8eaea915efbc0ba697ea13d..4a37c7876511376df7a95da6be7dc1733e4ad71b 100644 |
--- a/sky/framework/components/icon.dart |
+++ b/sky/framework/components/icon.dart |
@@ -7,13 +7,13 @@ import '../fn.dart'; |
const String kAssetBase = '/sky/assets/material-design-icons'; |
class Icon extends Component { |
- List<Style> styles; |
+ Style style; |
int size; |
String type; |
Icon({ |
String key, |
- this.styles, |
+ this.style, |
this.size, |
this.type: '' |
}) : super(key: key); |
@@ -28,7 +28,7 @@ class Icon extends Component { |
} |
return new Image( |
- styles: styles, |
+ style: style, |
width: size, |
height: size, |
src: '${kAssetBase}/${category}/2x_web/ic_${subtype}_${size}dp.png' |