From 1718f196c04d96020fc8b8000897b9929d794497 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Wed, 25 Mar 2015 10:41:38 -0700 Subject: [PATCH] Remove the |style| parameter to InkWell There's no reason for InkWell to take a |style| parameter anymore. Clients can simply use StyleNode instead. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/1019443003 --- examples/stocks-fn/lib/stock_row.dart | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/stocks-fn/lib/stock_row.dart b/examples/stocks-fn/lib/stock_row.dart index 94abba7adb..6332366a66 100644 --- a/examples/stocks-fn/lib/stock_row.dart +++ b/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); } }