Ink well in ListItem doesn't fill MaterialList
We need to put the padding on the inside of the list item. Fixes #1055
This commit is contained in:
@@ -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)
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user