Index: sky/examples/stocks2/lib/stock_settings.dart |
diff --git a/sky/examples/stocks2/lib/stock_settings.dart b/sky/examples/stocks2/lib/stock_settings.dart |
index 1fdfdf8d2468cd2613aa2267b9274d834aacc0ba..3ca3aef5f38bce4e4ac8a3370e0d203ccad88fdc 100644 |
--- a/sky/examples/stocks2/lib/stock_settings.dart |
+++ b/sky/examples/stocks2/lib/stock_settings.dart |
@@ -41,12 +41,11 @@ class StockSettings extends Component { |
decoration: new BoxDecoration(backgroundColor: colors.Grey[50]), |
child: new Block([ |
new MenuItem( |
- key: 'Optimistic Setting', |
icon: 'action/thumb_up', |
onGestureTap: (event) => _handleAwesomeChanged(!_awesome), |
children: [ |
new Flexible(child: new Text('Everything is awesome')), |
- new Checkbox(key: 'awesome', value: _awesome, onChanged: _handleAwesomeChanged) |
+ new Checkbox(value: _awesome, onChanged: _handleAwesomeChanged) |
] |
), |
]) |