1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Create new conversations

This commit is contained in:
2019-04-27 16:23:08 +02:00
parent 765ca82300
commit 852064e82d
7 changed files with 272 additions and 15 deletions

View File

@ -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,
);
}
}