forked from SelfPrivacy/selfprivacy.org.app
Fix clipping on Cards with InkResponse
parent
469fbde6c4
commit
6e9bde827a
|
@ -144,6 +144,7 @@ class _Card extends StatelessWidget {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(final BuildContext context) => Card(
|
Widget build(final BuildContext context) => Card(
|
||||||
|
clipBehavior: Clip.antiAlias,
|
||||||
child: InkResponse(
|
child: InkResponse(
|
||||||
highlightShape: BoxShape.rectangle,
|
highlightShape: BoxShape.rectangle,
|
||||||
onTap: onTap,
|
onTap: onTap,
|
||||||
|
|
|
@ -42,6 +42,7 @@ class StorageCard extends StatelessWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
return Card(
|
return Card(
|
||||||
|
clipBehavior: Clip.antiAlias,
|
||||||
child: InkResponse(
|
child: InkResponse(
|
||||||
highlightShape: BoxShape.rectangle,
|
highlightShape: BoxShape.rectangle,
|
||||||
onTap: () => Navigator.of(context).push(
|
onTap: () => Navigator.of(context).push(
|
||||||
|
|
Loading…
Reference in New Issue