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

Unified Diff: sky/examples/stocks-fn/stockrow.dart

Issue 1003553002: Update Button to be made of Material (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
Index: sky/examples/stocks-fn/stockrow.dart
diff --git a/sky/examples/stocks-fn/stockrow.dart b/sky/examples/stocks-fn/stockrow.dart
index 6eb9df648039df1e2b1914a16fdf5e35798ebe74..cacb3c0d891661e9029333df4f9d7fd2dcdadd7a 100644
--- a/sky/examples/stocks-fn/stockrow.dart
+++ b/sky/examples/stocks-fn/stockrow.dart
@@ -47,23 +47,23 @@ class StockRow extends Component {
),
new Container(
key: 'Ticker',
- style: _tickerStyle,
+ styles: [_tickerStyle],
children: [new Text(stock.symbol)]
),
new Container(
key: 'LastSale',
- style: _lastSaleStyle,
+ styles: [_lastSaleStyle],
children: [new Text(lastSale)]
),
new Container(
key: 'Change',
- style: _changeStyle,
+ styles: [_changeStyle],
children: [new Text(changeInPrice)]
)
];
return new Material(
- style: _style,
+ styles: [_style],
children: children
);
}

Powered by Google App Engine
This is Rietveld 408576698