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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user