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'; ...@@ -10,7 +10,7 @@ import 'package:sky/framework/components2/drawer.dart';
import 'package:sky/framework/components2/icon_button.dart'; import 'package:sky/framework/components2/icon_button.dart';
// import 'package:sky/framework/components2/input.dart'; // import 'package:sky/framework/components2/input.dart';
// import 'package:sky/framework/components2/menu_divider.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/modal_overlay.dart';
// import 'package:sky/framework/components2/popup_menu.dart'; // import 'package:sky/framework/components2/popup_menu.dart';
// import 'package:sky/framework/components2/radio.dart'; // import 'package:sky/framework/components2/radio.dart';
...@@ -118,18 +118,17 @@ class StocksApp extends App { ...@@ -118,18 +118,17 @@ class StocksApp extends App {
Drawer buildDrawer() { Drawer buildDrawer() {
return new Drawer( return new Drawer(
controller: _drawerController, controller: _drawerController,
level: 3 level: 3,
// , children: [
// children: [
// new DrawerHeader(children: [new Text('Stocks')]), // new DrawerHeader(children: [new Text('Stocks')]),
// new MenuItem( new MenuItem(
// key: 'Stock list', key: 'Stock list',
// icon: 'action/assessment', icon: 'action/assessment',
// children: [new Text('Stock List')]), children: [new Text('Stock List')]),
// new MenuItem( new MenuItem(
// key: 'Account Balance', key: 'Account Balance',
// icon: 'action/account_balance', icon: 'action/account_balance',
// children: [new Text('Account Balance')]), children: [new Text('Account Balance')]),
// new MenuDivider(key: 'div1'), // new MenuDivider(key: 'div1'),
// new MenuItem( // new MenuItem(
// key: 'Optimistic Menu Item', // key: 'Optimistic Menu Item',
...@@ -148,15 +147,15 @@ class StocksApp extends App { ...@@ -148,15 +147,15 @@ class StocksApp extends App {
// new Radio(key: 'pessimistic-radio', value: StockMode.Pessimistic, groupValue: _stockMode, onChanged: _handleStockModeChange) // new Radio(key: 'pessimistic-radio', value: StockMode.Pessimistic, groupValue: _stockMode, onChanged: _handleStockModeChange)
// ]), // ]),
// new MenuDivider(key: 'div2'), // new MenuDivider(key: 'div2'),
// new MenuItem( new MenuItem(
// key: 'Settings', key: 'Settings',
// icon: 'action/settings', icon: 'action/settings',
// children: [new Text('Settings')]), children: [new Text('Settings')]),
// new MenuItem( new MenuItem(
// key: 'Help & Feedback', key: 'Help & Feedback',
// icon: 'action/help', icon: 'action/help',
// children: [new Text('Help & Feedback')]) 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