| 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 import 'package:sky/framework/components2/ink_well.dart'; | 6 |
| 7 import 'package:sky/framework/fn2.dart'; | |
| 8 import 'package:sky/framework/rendering/flex.dart'; | |
| 9 import 'package:sky/framework/rendering/box.dart'; | 7 import 'package:sky/framework/rendering/box.dart'; |
| 10 import 'package:sky/framework/theme/typography.dart' as typography; | 8 import 'package:sky/framework/widgets/wrappers.dart'; |
| 9 import 'package:sky/framework/widgets/ink_well.dart'; |
| 10 |
| 11 import 'stock_arrow.dart'; | 11 import 'stock_arrow.dart'; |
| 12 import 'stock_data.dart'; | 12 import 'stock_data.dart'; |
| 13 | 13 |
| 14 class StockRow extends Component { | 14 class StockRow extends Component { |
| 15 | 15 |
| 16 StockRow({ Stock stock }) : this.stock = stock, super(key: stock.symbol); | 16 StockRow({ Stock stock }) : this.stock = stock, super(key: stock.symbol); |
| 17 | 17 |
| 18 final Stock stock; | 18 final Stock stock; |
| 19 | 19 |
| 20 static const double kHeight = 70.0; | 20 static const double kHeight = 70.0; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 42 padding: const EdgeDims(16.0, 16.0, 20.0, 16.0), | 42 padding: const EdgeDims(16.0, 16.0, 20.0, 16.0), |
| 43 height: kHeight, | 43 height: kHeight, |
| 44 decoration: const BoxDecoration( | 44 decoration: const BoxDecoration( |
| 45 border: const Border( | 45 border: const Border( |
| 46 bottom: const BorderSide(color: const sky.Color(0xFFF4F4F4)))), | 46 bottom: const BorderSide(color: const sky.Color(0xFFF4F4F4)))), |
| 47 child: new Flex(children) | 47 child: new Flex(children) |
| 48 ) | 48 ) |
| 49 ]); | 49 ]); |
| 50 } | 50 } |
| 51 } | 51 } |
| OLD | NEW |