fix: Fixed listtile splash

This commit is contained in:
Deven Joshi
2020-11-24 14:21:08 +05:30
parent d9507214d7
commit 8640f2b4f9
+6 -3
View File
@@ -152,7 +152,10 @@ class ImageActionsModal extends StatelessWidget {
color: Colors.black, color: Colors.black,
); );
return ListTile( return Material(
child: InkWell(
onTap: onTap,
child: ListTile(
dense: true, dense: true,
title: Text( title: Text(
title, title,
@@ -163,8 +166,8 @@ class ImageActionsModal extends StatelessWidget {
color: color ?? StreamChatTheme.of(context).primaryIconTheme.color, color: color ?? StreamChatTheme.of(context).primaryIconTheme.color,
size: 24.0, size: 24.0,
), ),
onTap: onTap, ),
tileColor: Colors.white, ),
); );
} }
} }