mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-03-11 09:14:10 +00:00
Fix clipping on Cards with InkResponse
This commit is contained in:
parent
469fbde6c4
commit
6e9bde827a
2 changed files with 2 additions and 0 deletions
lib/ui/pages
|
@ -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…
Add table
Reference in a new issue