Index: sky/examples/stocks2/lib/stock_menu.dart |
diff --git a/sky/examples/stocks2/lib/stock_menu.dart b/sky/examples/stocks2/lib/stock_menu.dart |
index b474c1024b11ce9b8a91e55c98ef4b30b637bab0..24b5f71b260fffc33d7d13c47db08357b61b5142 100644 |
--- a/sky/examples/stocks2/lib/stock_menu.dart |
+++ b/sky/examples/stocks2/lib/stock_menu.dart |
@@ -26,13 +26,13 @@ class StockMenu extends Component { |
onChanged: this.onAutorefreshChanged |
); |
- return new StackPositionedChild( |
- new PopupMenu( |
+ return new Positioned( |
+ child: new PopupMenu( |
controller: controller, |
items: [ |
[new Text('Add stock')], |
[new Text('Remove stock')], |
- [new FlexExpandingChild(new Text('Autorefresh')), checkbox], |
+ [new Flexible(child: new Text('Autorefresh')), checkbox], |
], |
level: 4 |
), |