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

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

Issue 1006053002: Allow Effen Styles to be extendable (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sdfsd 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
« no previous file with comments | « sky/examples/stocks-fn/stockrow.dart ('k') | sky/framework/components/button.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks-fn/stocksapp.dart
diff --git a/sky/examples/stocks-fn/stocksapp.dart b/sky/examples/stocks-fn/stocksapp.dart
index c35983ea9efce93a9f4468ff4162026e40976773..e303fbe26ca9e7752b7832796dda38a6ce01d1fa 100644
--- a/sky/examples/stocks-fn/stocksapp.dart
+++ b/sky/examples/stocks-fn/stocksapp.dart
@@ -105,19 +105,19 @@ class StocksApp extends App {
var toolbar = new Toolbar(
children: [
- new Icon(key: 'menu', styles: [_iconStyle],
+ new Icon(key: 'menu', style: _iconStyle,
size: 24,
type: 'navigation/menu_white')
..events.listen('click', _drawerAnimation.toggle),
new Container(
- styles: [_titleStyle],
+ style: _titleStyle,
children: [title]
),
- new Icon(key: 'search', styles: [_iconStyle],
+ new Icon(key: 'search', style: _iconStyle,
size: 24,
type: 'action/search_white')
..events.listen('click', _handleSearchClick),
- new Icon(key: 'more_white', styles: [_iconStyle],
+ new Icon(key: 'more_white', style: _iconStyle,
size: 24,
type: 'navigation/more_vert_white')
]
@@ -133,7 +133,7 @@ class StocksApp extends App {
children: [
new Container(
key: 'Content',
- styles: [_style],
+ style: _style,
children: [toolbar, list]
),
fab,
« no previous file with comments | « sky/examples/stocks-fn/stockrow.dart ('k') | sky/framework/components/button.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698