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 e9591622c0ab693eb31e9be8f57167586aa52644..32f1c81fe799b937405598108a327bfd04cb7a84 100644 |
--- a/sky/examples/stocks2/lib/stock_row.dart |
+++ b/sky/examples/stocks2/lib/stock_row.dart |
@@ -29,12 +29,12 @@ class StockRow extends Component { |
new Container( |
child: new StockArrow(percentChange: stock.percentChange), |
margin: const EdgeDims.only(right: 5.0)), |
- new FlexExpandingChild(new Text(stock.symbol), flex: 2, key: "symbol"), |
+ new Flexible(child: new Text(stock.symbol), flex: 2, key: "symbol"), |
// TODO(hansmuller): text-align: right |
- new FlexExpandingChild(new Text(lastSale, |
+ new Flexible(child: new Text(lastSale, |
style: const TextStyle(textAlign: TextAlign.right)), |
key: "lastSale"), |
- new FlexExpandingChild(new Text(changeInPrice, |
+ new Flexible(child: new Text(changeInPrice, |
style: typography.black.caption.copyWith(textAlign: TextAlign.right)), |
key: "changeInPrice") |
]; |