From d35a3f208c24de9bf1120e4dc8bf331d3401df9f Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Fri, 16 Oct 2020 16:33:53 +0530 Subject: [PATCH] feat: wip message input --- lib/src/message_input.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 10225e6b..130a9bf2 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -447,7 +447,9 @@ class MessageInputState extends State { leading: UserAvatar( user: m.user, ), - title: Text('${m.user.name}'), + title: Text('${m.user.name}', style: TextStyle(fontWeight: FontWeight.bold),), + subtitle: Text('${m.userId}'), + trailing: Icon(Icons.alternate_email, color: StreamChatTheme.of(context).primaryColor,), onTap: () { _mentionedUsers.add(m.user); @@ -894,10 +896,6 @@ class MessageInputState extends State { color: Colors.white, size: 16.0, ), - constraints: BoxConstraints( - maxWidth: 24.0, - maxHeight: 24.0, - ), ), ), ),