mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Create new conversations
This commit is contained in:
@ -13,8 +13,9 @@ typedef OnUserTap = void Function(User);
|
||||
class SimpleUserTile extends StatelessWidget {
|
||||
final User user;
|
||||
final OnUserTap onTap;
|
||||
final Widget trailing;
|
||||
|
||||
const SimpleUserTile({Key key, this.user, this.onTap})
|
||||
const SimpleUserTile({Key key, this.user, this.onTap, this.trailing})
|
||||
: assert(user != null),
|
||||
super(key: key);
|
||||
|
||||
@ -26,6 +27,7 @@ class SimpleUserTile extends StatelessWidget {
|
||||
user: user,
|
||||
),
|
||||
title: Text(user.fullName),
|
||||
trailing: trailing,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user