Index: sky/framework/components/icon.dart |
diff --git a/sky/framework/components/icon.dart b/sky/framework/components/icon.dart |
index 293b805c69cd01842cd0cba200f68362ff7f1e47..cae1025c9e1b14da3a6dbc1ce13d4a85a718f01d 100644 |
--- a/sky/framework/components/icon.dart |
+++ b/sky/framework/components/icon.dart |
@@ -8,13 +8,11 @@ import '../fn.dart'; |
const String kAssetBase = '/packages/sky/assets/material-design-icons'; |
class Icon extends Component { |
- Style style; |
int size; |
String type; |
Icon({ |
String key, |
- this.style, |
this.size, |
this.type: '' |
}) : super(key: key); |
@@ -28,11 +26,7 @@ class Icon extends Component { |
subtype = parts[1]; |
} |
- return new Image( |
- style: style, |
- width: size, |
- height: size, |
- src: '${kAssetBase}/${category}/2x_web/ic_${subtype}_${size}dp.png' |
- ); |
+ return new Image(width: size, height: size, |
+ src: '${kAssetBase}/${category}/2x_web/ic_${subtype}_${size}dp.png'); |
} |
} |