| Index: sky/examples/stocks2/lib/stock_row.dart
|
| diff --git a/sky/examples/stocks2/lib/stock_row.dart b/sky/examples/stocks2/lib/stock_row.dart
|
| index 7e3ee7d163b35aac6fddba250005de057466661e..bd48c5f72b37b1db1f55ce887120af879296ec94 100644
|
| --- a/sky/examples/stocks2/lib/stock_row.dart
|
| +++ b/sky/examples/stocks2/lib/stock_row.dart
|
| @@ -27,16 +27,25 @@ class StockRow extends Component {
|
|
|
| List<Widget> children = [
|
| new Container(
|
| - child: new StockArrow(percentChange: stock.percentChange),
|
| - margin: const EdgeDims.only(right: 5.0)),
|
| - new Flexible(child: new Text(stock.symbol), flex: 2, key: "symbol"),
|
| - // TODO(hansmuller): text-align: right
|
| - new Flexible(child: new Text(lastSale,
|
| - style: const TextStyle(textAlign: TextAlign.right)),
|
| - key: "lastSale"),
|
| - new Flexible(child: new Text(changeInPrice,
|
| - style: typography.black.caption.copyWith(textAlign: TextAlign.right)),
|
| - key: "changeInPrice")
|
| + child: new StockArrow(percentChange: stock.percentChange),
|
| + margin: const EdgeDims.only(right: 5.0)
|
| + ),
|
| + new Flexible(
|
| + child: new Text(stock.symbol),
|
| + flex: 2
|
| + ),
|
| + new Flexible(
|
| + child: new Text(
|
| + lastSale,
|
| + style: const TextStyle(textAlign: TextAlign.right)
|
| + )
|
| + ),
|
| + new Flexible(
|
| + child: new Text(
|
| + changeInPrice,
|
| + style: typography.black.caption.copyWith(textAlign: TextAlign.right)
|
| + )
|
| + )
|
| ];
|
|
|
| // TODO(hansmuller): An explicit |height| shouldn't be needed
|
|
|