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

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

Issue 1172503004: Enable setting the UINode key for ParentDataNodes (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 | « no previous file | sky/sdk/lib/framework/components2/menu_item.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks2/lib/stock_app.dart
diff --git a/sky/examples/stocks2/lib/stock_app.dart b/sky/examples/stocks2/lib/stock_app.dart
index fe4f8b49e13b1e5736186f6d4b9511f8873fb383..0b07d84f872dea502dcf7bd454d10ae5df697911 100644
--- a/sky/examples/stocks2/lib/stock_app.dart
+++ b/sky/examples/stocks2/lib/stock_app.dart
@@ -130,7 +130,7 @@ class StocksApp extends App {
icon: 'action/thumb_up',
onGestureTap: (event) => _handleStockModeChange(StockMode.optimistic),
children: [
- new FlexExpandingChild(new Text('Optimistic'), 1),
+ new FlexExpandingChild(new Text('Optimistic'), flex: 1),
new Radio(key: 'optimistic-radio', value: StockMode.optimistic, groupValue: _stockMode, onChanged: _handleStockModeChange)
]),
new MenuItem(
@@ -138,7 +138,7 @@ class StocksApp extends App {
icon: 'action/thumb_down',
onGestureTap: (event) => _handleStockModeChange(StockMode.pessimistic),
children: [
- new FlexExpandingChild(new Text('Pessimistic'), 1),
+ new FlexExpandingChild(new Text('Pessimistic'), flex: 1),
new Radio(key: 'pessimistic-radio', value: StockMode.pessimistic, groupValue: _stockMode, onChanged: _handleStockModeChange)
]),
new MenuDivider(key: 'div2'),
« no previous file with comments | « no previous file | sky/sdk/lib/framework/components2/menu_item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698