Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1131)

Unified Diff: sky/examples/stocks2/lib/stock_row.dart

Issue 1179763009: Give ParentDataNodes snappier names (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: nit Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/examples/stocks2/lib/stock_menu.dart ('k') | sky/examples/widgets/container.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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")
];
« no previous file with comments | « sky/examples/stocks2/lib/stock_menu.dart ('k') | sky/examples/widgets/container.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698