| 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 library components_menu_item; |
| 6 |
| 5 import '../fn.dart'; | 7 import '../fn.dart'; |
| 6 import '../layout.dart'; | 8 import '../layout.dart'; |
| 7 import 'button_base.dart'; | 9 import 'button_base.dart'; |
| 8 import 'icon.dart'; | 10 import 'icon.dart'; |
| 9 import 'ink_well.dart'; | 11 import 'ink_well.dart'; |
| 10 | 12 |
| 11 class MenuItem extends ButtonBase { | 13 class MenuItem extends ButtonBase { |
| 12 static final Style _style = new Style(''' | 14 static final Style _style = new Style(''' |
| 13 align-items: center; | 15 align-items: center; |
| 14 height: 48px; | 16 height: 48px; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 _labelFlex | 61 _labelFlex |
| 60 ) | 62 ) |
| 61 ] | 63 ] |
| 62 ), | 64 ), |
| 63 highlight ? _highlightStyle : _style | 65 highlight ? _highlightStyle : _style |
| 64 ), | 66 ), |
| 65 onGestureTap: onGestureTap | 67 onGestureTap: onGestureTap |
| 66 ); | 68 ); |
| 67 } | 69 } |
| 68 } | 70 } |
| OLD | NEW |