fix: Fixed listtile splash
This commit is contained in:
@@ -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,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user