Merge pull request #1056 from abarth/list_item_padding

Ink well in ListItem doesn't fill MaterialList
This commit is contained in:
Adam Barth
2016-01-01 16:36:21 -08:00

View File

@@ -46,11 +46,11 @@ class ListItem extends StatelessComponent {
));
}
return new Padding(
padding: const EdgeDims.symmetric(horizontal: 16.0),
child: new InkWell(
onTap: onTap,
onLongPress: onLongPress,
return new InkWell(
onTap: onTap,
onLongPress: onLongPress,
child: new Padding(
padding: const EdgeDims.symmetric(horizontal: 16.0),
child: new Row(children)
)
);