Fix clipping on Cards with InkResponse

pull/116/head
Inex Code 2022-09-16 01:01:41 +03:00
parent 469fbde6c4
commit 6e9bde827a
2 changed files with 2 additions and 0 deletions

View File

@ -144,6 +144,7 @@ class _Card extends StatelessWidget {
@override
Widget build(final BuildContext context) => Card(
clipBehavior: Clip.antiAlias,
child: InkResponse(
highlightShape: BoxShape.rectangle,
onTap: onTap,

View File

@ -42,6 +42,7 @@ class StorageCard extends StatelessWidget {
}
return Card(
clipBehavior: Clip.antiAlias,
child: InkResponse(
highlightShape: BoxShape.rectangle,
onTap: () => Navigator.of(context).push(