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 | 6 |
7 class MenuDivider extends Component { | 7 class MenuDivider extends Component { |
8 MenuDivider({ Object key }) : super(key: key); | 8 MenuDivider({ Object key }) : super(key: key); |
9 | 9 |
10 UINode build() { | 10 UINode build() { |
11 return new Container( | 11 return new Container( |
| 12 height: 0.0, |
12 decoration: const BoxDecoration( | 13 decoration: const BoxDecoration( |
13 border: const Border( | 14 border: const Border( |
14 bottom: const BorderSide( | 15 bottom: const BorderSide( |
15 color: const Color.fromARGB(31, 0, 0, 0) | 16 color: const Color.fromARGB(31, 0, 0, 0) |
16 ) | 17 ) |
17 ) | 18 ) |
18 ), | 19 ), |
19 margin: const EdgeDims.symmetric(vertical: 8.0) | 20 margin: const EdgeDims.symmetric(vertical: 8.0) |
20 ); | 21 ); |
21 } | 22 } |
22 } | 23 } |
OLD | NEW |