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 fbc12dc045480d202c7cfc4e22da3bc6ee7f74dd..60cdb212ad76b567eb30cf597c6780a489038e5b 100644 |
--- a/sky/sdk/lib/framework/components2/icon.dart |
+++ b/sky/sdk/lib/framework/components2/icon.dart |
@@ -8,8 +8,6 @@ import '../fn2.dart'; |
const String kAssetBase = '/packages/sky/assets/material-design-icons'; |
class Icon extends Component { |
- int size; |
- String type; |
Icon({ |
String key, |
@@ -17,6 +15,9 @@ class Icon extends Component { |
this.type: '' |
}) : super(key: key); |
+ int size; |
+ String type; |
+ |
UINode build() { |
String category = ''; |
String subtype = ''; |
@@ -30,4 +31,5 @@ class Icon extends Component { |
src: '${kAssetBase}/${category}/2x_web/ic_${subtype}_${size}dp.png' |
); |
} |
+ |
} |