OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 import 'package:sky/framework/components/popup_menu.dart'; | 5 import 'package:sky/framework/components/popup_menu.dart'; |
6 import 'package:sky/framework/fn.dart'; | 6 import 'package:sky/framework/fn.dart'; |
7 import 'package:sky/framework/theme/view-configuration.dart'; | 7 import 'package:sky/framework/theme/view-configuration.dart'; |
8 | 8 |
9 class StockMenu extends Component { | 9 class StockMenu extends Component { |
10 static final Style _style = new Style(''' | 10 static final Style _style = new Style(''' |
(...skipping 12 matching lines...) Expand all Loading... |
23 items: [ | 23 items: [ |
24 [new Text('Add stock')], | 24 [new Text('Add stock')], |
25 [new Text('Remove stock')], | 25 [new Text('Remove stock')], |
26 [new Text('Help & feeback')], | 26 [new Text('Help & feeback')], |
27 ], | 27 ], |
28 level: 4), | 28 level: 4), |
29 _style | 29 _style |
30 ); | 30 ); |
31 } | 31 } |
32 } | 32 } |
OLD | NEW |