Commit bcf65bd0 authored by Collin Jackson's avatar Collin Jackson

Stub out InkWell and implement Sky’s fn2 menu item

R=abarth@chromium.org, ianh@google.com, abarth, hixie

Review URL: https://codereview.chromium.org/1165983002
parent 30dac585
......@@ -10,7 +10,7 @@ import 'package:sky/framework/components2/drawer.dart';
import 'package:sky/framework/components2/icon_button.dart';
// import 'package:sky/framework/components2/input.dart';
// import 'package:sky/framework/components2/menu_divider.dart';
// import 'package:sky/framework/components2/menu_item.dart';
import 'package:sky/framework/components2/menu_item.dart';
// import 'package:sky/framework/components2/modal_overlay.dart';
// import 'package:sky/framework/components2/popup_menu.dart';
// import 'package:sky/framework/components2/radio.dart';
......@@ -118,18 +118,17 @@ class StocksApp extends App {
Drawer buildDrawer() {
return new Drawer(
controller: _drawerController,
level: 3
// ,
// children: [
level: 3,
children: [
// new DrawerHeader(children: [new Text('Stocks')]),
// new MenuItem(
// key: 'Stock list',
// icon: 'action/assessment',
// children: [new Text('Stock List')]),
// new MenuItem(
// key: 'Account Balance',
// icon: 'action/account_balance',
// children: [new Text('Account Balance')]),
new MenuItem(
key: 'Stock list',
icon: 'action/assessment',
children: [new Text('Stock List')]),
new MenuItem(
key: 'Account Balance',
icon: 'action/account_balance',
children: [new Text('Account Balance')]),
// new MenuDivider(key: 'div1'),
// new MenuItem(
// key: 'Optimistic Menu Item',
......@@ -148,15 +147,15 @@ class StocksApp extends App {
// new Radio(key: 'pessimistic-radio', value: StockMode.Pessimistic, groupValue: _stockMode, onChanged: _handleStockModeChange)
// ]),
// new MenuDivider(key: 'div2'),
// new MenuItem(
// key: 'Settings',
// icon: 'action/settings',
// children: [new Text('Settings')]),
// new MenuItem(
// key: 'Help & Feedback',
// icon: 'action/help',
// children: [new Text('Help & Feedback')])
// ]
new MenuItem(
key: 'Settings',
icon: 'action/settings',
children: [new Text('Settings')]),
new MenuItem(
key: 'Help & Feedback',
icon: 'action/help',
children: [new Text('Help & Feedback')])
]
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment