Index: sky/examples/stocks-fn/lib/stock_menu.dart |
diff --git a/sky/examples/stocks-fn/lib/stock_menu.dart b/sky/examples/stocks-fn/lib/stock_menu.dart |
index 65db00d3d93fc1f1ad9f14960716445fc1633671..4d54e8f6010861d6cd14445f60961c7b422333e3 100644 |
--- a/sky/examples/stocks-fn/lib/stock_menu.dart |
+++ b/sky/examples/stocks-fn/lib/stock_menu.dart |
@@ -17,18 +17,16 @@ class StockMenu extends Component { |
StockMenu({Object key, this.controller}) : super(key: key); |
Node build() { |
- return new Container( |
- style: _style, |
- children: [ |
- new PopupMenu( |
- controller: controller, |
- items: [ |
- [new Text('Add stock')], |
- [new Text('Remove stock')], |
- [new Text('Help & feeback')], |
- ], |
- level: 4) |
- ] |
+ return new StyleNode( |
+ new PopupMenu( |
+ controller: controller, |
+ items: [ |
+ [new Text('Add stock')], |
+ [new Text('Remove stock')], |
+ [new Text('Help & feeback')], |
+ ], |
+ level: 4), |
+ _style |
); |
} |
} |