| 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 '../fn2.dart'; | 5 import '../fn2.dart'; |
| 6 import 'button_base.dart'; | 6 import 'button_base.dart'; |
| 7 import 'icon.dart'; | 7 import 'icon.dart'; |
| 8 import 'ink_well.dart'; | 8 import 'ink_well.dart'; |
| 9 | 9 |
| 10 class MenuItem extends ButtonBase { | 10 class MenuItem extends ButtonBase { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 child: new FlexContainer( | 33 child: new FlexContainer( |
| 34 direction: FlexDirection.horizontal, | 34 direction: FlexDirection.horizontal, |
| 35 children: children | 35 children: children |
| 36 ), | 36 ), |
| 37 padding: const EdgeDims.symmetric(horizontal: 16.0) | 37 padding: const EdgeDims.symmetric(horizontal: 16.0) |
| 38 ), | 38 ), |
| 39 1 | 39 1 |
| 40 ) | 40 ) |
| 41 ] | 41 ] |
| 42 ), | 42 ), |
| 43 desiredSize: const Size.fromHeight(48.0), | 43 height: 48.0, |
| 44 decoration: highlight ? highlightDecoration : null | 44 decoration: highlight ? highlightDecoration : null |
| 45 ), | 45 ), |
| 46 onGestureTap: onGestureTap | 46 onGestureTap: onGestureTap |
| 47 ); | 47 ); |
| 48 } | 48 } |
| 49 } | 49 } |
| OLD | NEW |