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