Add a menu to the stocks app

We should probably move this menu into a view for an individual stock, but for
now add it to the main stock screen.

R=ojan@chromium.org, eseidel@chromium.org

Review URL: https://codereview.chromium.org/1008003007
This commit is contained in:
Adam Barth 2015-03-17 19:21:36 -07:00
parent 5488627f20
commit d32ec33c3e

View File

@ -5,7 +5,6 @@
import '../../framework/fn.dart';
import '../../framework/components/button.dart';
import '../../framework/components/popup_menu.dart';
import '../../framework/components/popup_menu_item.dart';
class WidgetsApp extends App {
static final Style _menuStyle = new Style('''
@ -22,14 +21,14 @@ class WidgetsApp extends App {
style: _menuStyle,
children: [
new PopupMenu(
children: [
new PopupMenuItem(key: '1', children: [new Text('People & options')]),
new PopupMenuItem(key: '2', children: [new Text('New group conversation')]),
new PopupMenuItem(key: '3', children: [new Text('Turn history off')]),
new PopupMenuItem(key: '4', children: [new Text('Archive')]),
new PopupMenuItem(key: '5', children: [new Text('Delete')]),
new PopupMenuItem(key: '6', children: [new Text('Un-merge SMS')]),
new PopupMenuItem(key: '7', children: [new Text('Help & feeback')]),
items: [
[new Text('People & options')],
[new Text('New group conversation')],
[new Text('Turn history off')],
[new Text('Archive')],
[new Text('Delete')],
[new Text('Un-merge SMS')],
[new Text('Help & feeback')],
],
level: 4),
]