Commit 492f5919 authored by Adam Barth's avatar Adam Barth

Rows in stocks app should have ink splashes

R=ianh@google.com

Review URL: https://codereview.chromium.org/1174153002.
parent ac7f2ff8
...@@ -36,15 +36,16 @@ class StockRow extends Component { ...@@ -36,15 +36,16 @@ class StockRow extends Component {
new FlexExpandingChild(new Text(changeInPrice), key: "changeInPrice") new FlexExpandingChild(new Text(changeInPrice), key: "changeInPrice")
]; ];
return new Container( // TODO(hansmuller): An explicit |height| shouldn't be needed
return new InkWell(children: [
new Container(
padding: const EdgeDims(16.0, 16.0, 20.0, 16.0), padding: const EdgeDims(16.0, 16.0, 20.0, 16.0),
height: kHeight, // TODO(hansmuller): This shouldn't be needed height: kHeight,
decoration: const BoxDecoration( decoration: const BoxDecoration(
backgroundColor: const sky.Color(0xFFFFFFFF),
border: const Border( border: const Border(
bottom: const BorderSide( bottom: const BorderSide(color: const sky.Color(0xFFF4F4F4)))),
color: const sky.Color(0xFFF4F4F4), child: new FlexContainer(children: children)
width: 1.0))), )
child: new FlexContainer(children: children)); ]);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment