| 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 'dart:sky' as sky; | 5 import 'dart:sky' as sky; |
| 6 | 6 |
| 7 import 'package:sky/framework/rendering/box.dart'; | 7 import 'package:sky/framework/rendering/box.dart'; |
| 8 import 'package:sky/framework/theme2/typography.dart' as typography; | 8 import 'package:sky/framework/theme2/typography.dart' as typography; |
| 9 import 'package:sky/framework/widgets/ink_well.dart'; | 9 import 'package:sky/framework/widgets/ink_well.dart'; |
| 10 import 'package:sky/framework/widgets/wrappers.dart'; | 10 import 'package:sky/framework/widgets/basic.dart'; |
| 11 import 'package:sky/framework/rendering/paragraph.dart'; | 11 import 'package:sky/framework/rendering/paragraph.dart'; |
| 12 | 12 |
| 13 import 'stock_arrow.dart'; | 13 import 'stock_arrow.dart'; |
| 14 import 'stock_data.dart'; | 14 import 'stock_data.dart'; |
| 15 | 15 |
| 16 class StockRow extends Component { | 16 class StockRow extends Component { |
| 17 | 17 |
| 18 StockRow({ Stock stock }) : this.stock = stock, super(key: stock.symbol); | 18 StockRow({ Stock stock }) : this.stock = stock, super(key: stock.symbol); |
| 19 | 19 |
| 20 final Stock stock; | 20 final Stock stock; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 47 padding: const EdgeDims(16.0, 16.0, 20.0, 16.0), | 47 padding: const EdgeDims(16.0, 16.0, 20.0, 16.0), |
| 48 height: kHeight, | 48 height: kHeight, |
| 49 decoration: const BoxDecoration( | 49 decoration: const BoxDecoration( |
| 50 border: const Border( | 50 border: const Border( |
| 51 bottom: const BorderSide(color: const sky.Color(0xFFF4F4F4)))), | 51 bottom: const BorderSide(color: const sky.Color(0xFFF4F4F4)))), |
| 52 child: new Flex(children) | 52 child: new Flex(children) |
| 53 ) | 53 ) |
| 54 ); | 54 ); |
| 55 } | 55 } |
| 56 } | 56 } |
| OLD | NEW |