fix: Fixed listtile splash

This commit is contained in:
Deven Joshi
2020-11-24 14:21:08 +05:30
parent d9507214d7
commit 8640f2b4f9
+15 -12
View File
@@ -152,19 +152,22 @@ class ImageActionsModal extends StatelessWidget {
color: Colors.black, color: Colors.black,
); );
return ListTile( return Material(
dense: true, child: InkWell(
title: Text( onTap: onTap,
title, child: ListTile(
style: color == null ? titleStyle : titleStyle.copyWith(color: color), dense: true,
title: Text(
title,
style: color == null ? titleStyle : titleStyle.copyWith(color: color),
),
leading: Icon(
iconData,
color: color ?? StreamChatTheme.of(context).primaryIconTheme.color,
size: 24.0,
),
),
), ),
leading: Icon(
iconData,
color: color ?? StreamChatTheme.of(context).primaryIconTheme.color,
size: 24.0,
),
onTap: onTap,
tileColor: Colors.white,
); );
} }
} }