| Index: sky/sdk/lib/framework/components2/popup_menu_item.dart
|
| diff --git a/sky/sdk/lib/framework/components2/popup_menu_item.dart b/sky/sdk/lib/framework/components2/popup_menu_item.dart
|
| index 8f7076c7be446d5d4067e348cec452d66cee3a45..942f0ebd7ffde8f4b69da96052cfa0085c49b093 100644
|
| --- a/sky/sdk/lib/framework/components2/popup_menu_item.dart
|
| +++ b/sky/sdk/lib/framework/components2/popup_menu_item.dart
|
| @@ -6,21 +6,17 @@ import '../fn2.dart';
|
| import 'ink_well.dart';
|
|
|
| class PopupMenuItem extends Component {
|
| - static final Style _style = new Style('''
|
| - min-width: 112px;
|
| - padding: 16px;''');
|
| -
|
| List<UINode> children;
|
| double opacity;
|
|
|
| PopupMenuItem({ Object key, this.children, this.opacity}) : super(key: key);
|
|
|
| UINode build() {
|
| - return new StyleNode(
|
| - new InkWell(
|
| - inlineStyle: opacity == null ? null : 'opacity: ${opacity}',
|
| - children: children
|
| - ),
|
| - _style);
|
| + return new Container(
|
| + constraints: const BoxConstraints(minWidth: 112.0),
|
| + padding: const EdgeDims.all(16.0),
|
| + // TODO(abarth): opacity: opacity,
|
| + child: new InkWell(children: children)
|
| + );
|
| }
|
| }
|
|
|