| 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/painting/text_style.dart'; | 5 import 'package:sky/painting/text_style.dart'; |
| 6 import 'package:sky/rendering/box.dart'; | 6 import 'package:sky/rendering/box.dart'; |
| 7 import 'package:sky/widgets/ink_well.dart'; | 7 import 'package:sky/widgets/ink_well.dart'; |
| 8 import 'package:sky/widgets/basic.dart'; | 8 import 'package:sky/widgets/basic.dart'; |
| 9 import 'package:sky/widgets/theme.dart'; | 9 import 'package:sky/widgets/theme.dart'; |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 style: Theme.of(this).text.caption.copyWith(textAlign: TextAlign.right
) | 46 style: Theme.of(this).text.caption.copyWith(textAlign: TextAlign.right
) |
| 47 ) | 47 ) |
| 48 ) | 48 ) |
| 49 ]; | 49 ]; |
| 50 | 50 |
| 51 // TODO(hansmuller): An explicit |height| shouldn't be needed | 51 // TODO(hansmuller): An explicit |height| shouldn't be needed |
| 52 return new InkWell( | 52 return new InkWell( |
| 53 child: new Container( | 53 child: new Container( |
| 54 padding: const EdgeDims(16.0, 16.0, 20.0, 16.0), | 54 padding: const EdgeDims(16.0, 16.0, 20.0, 16.0), |
| 55 height: kHeight, | 55 height: kHeight, |
| 56 decoration: const BoxDecoration( | 56 decoration: new BoxDecoration( |
| 57 border: const Border( | 57 border: new Border( |
| 58 bottom: const BorderSide(color: const Color(0xFFF4F4F4)) | 58 bottom: new BorderSide(color: Theme.of(this).dividerColor) |
| 59 ) | 59 ) |
| 60 ), | 60 ), |
| 61 child: new Flex(children) | 61 child: new Flex(children) |
| 62 ) | 62 ) |
| 63 ); | 63 ); |
| 64 } | 64 } |
| 65 } | 65 } |
| OLD | NEW |