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

Unified Diff: sky/examples/stocks-fn/lib/stock_row.dart

Issue 1019443003: Remove the |style| parameter to InkWell (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
« no previous file with comments | « no previous file | sky/framework/components/ink_well.dart » ('j') | sky/framework/components/material.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks-fn/lib/stock_row.dart
diff --git a/sky/examples/stocks-fn/lib/stock_row.dart b/sky/examples/stocks-fn/lib/stock_row.dart
index 94abba7adbe2dd2c4d59c98b04d1502521958bcb..6332366a66c48db12b08286e795892af687dcfcd 100644
--- a/sky/examples/stocks-fn/lib/stock_row.dart
+++ b/sky/examples/stocks-fn/lib/stock_row.dart
@@ -10,7 +10,6 @@ import 'stock_data.dart';
class StockRow extends Component {
static final Style _style = new Style('''
- transform: translateX(0);
display: flex;
align-items: center;
border-bottom: 1px solid #F4F4F4;
@@ -68,9 +67,6 @@ class StockRow extends Component {
)
];
- return new InkWell(
- style: _style,
- children: children
- );
+ return new StyleNode(new InkWell(children: children), _style);
}
}
« no previous file with comments | « no previous file | sky/framework/components/ink_well.dart » ('j') | sky/framework/components/material.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698