mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Add support for conversation image
This commit is contained in:
@ -17,6 +17,7 @@ class CustomListTile extends StatelessWidget {
|
||||
final GestureTapCallback onTap;
|
||||
final GestureLongPressCallback onLongPress;
|
||||
final bool selected;
|
||||
final Color tileColor;
|
||||
|
||||
/// Custom onLongPress function
|
||||
final Function(Size, Offset) onLongPressWithInfo;
|
||||
@ -39,6 +40,7 @@ class CustomListTile extends StatelessWidget {
|
||||
this.selected = false,
|
||||
this.onLongPressWithInfo,
|
||||
this.onLongPressOpenMenu,
|
||||
this.tileColor,
|
||||
}) : assert(isThreeLine != null),
|
||||
assert(enabled != null),
|
||||
assert(selected != null),
|
||||
@ -48,6 +50,7 @@ class CustomListTile extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return ListTile(
|
||||
tileColor: tileColor,
|
||||
leading: leading,
|
||||
title: title,
|
||||
subtitle: subtitle,
|
||||
|
Reference in New Issue
Block a user