Index: sky/sdk/lib/framework/components2/menu_item.dart |
diff --git a/sky/sdk/lib/framework/components2/menu_item.dart b/sky/sdk/lib/framework/components2/menu_item.dart |
index e3487edc2ae6ed55976276a47cbd9a9990b5e206..77b42923ee415287ad38b2622173122b0677187b 100644 |
--- a/sky/sdk/lib/framework/components2/menu_item.dart |
+++ b/sky/sdk/lib/framework/components2/menu_item.dart |
@@ -9,6 +9,8 @@ import 'ink_well.dart'; |
class MenuItem extends ButtonBase { |
+ MenuItem({ Object key, this.icon, this.children, this.onGestureTap }) : super(key: key); |
+ |
static const BoxDecoration highlightDecoration = const BoxDecoration( |
backgroundColor: const Color.fromARGB(102, 153, 153, 153) |
); |
@@ -17,8 +19,6 @@ class MenuItem extends ButtonBase { |
String icon; |
GestureEventListener onGestureTap; |
- MenuItem({ Object key, this.icon, this.children, this.onGestureTap }) : super(key: key); |
- |
UINode buildContent() { |
return new EventListenerNode( |
new Container( |
@@ -46,4 +46,5 @@ class MenuItem extends ButtonBase { |
onGestureTap: onGestureTap |
); |
} |
+ |
} |