feat: commands ui

This commit is contained in:
Deven Joshi
2020-10-23 17:16:39 +05:30
parent e58b051bfa
commit 05e980dbac
+4
View File
@@ -398,6 +398,8 @@ class MessageInputState extends State<MessageInput> {
bottom: size.height + MediaQuery.of(context).viewInsets.bottom, bottom: size.height + MediaQuery.of(context).viewInsets.bottom,
left: 0, left: 0,
right: 0, right: 0,
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Material( child: Material(
color: StreamChatTheme.of(context).primaryColor, color: StreamChatTheme.of(context).primaryColor,
child: Container( child: Container(
@@ -448,6 +450,7 @@ class MessageInputState extends State<MessageInput> {
trailing: CircleAvatar( trailing: CircleAvatar(
backgroundColor: StreamChatTheme.of(context).accentColor, backgroundColor: StreamChatTheme.of(context).accentColor,
child: Icon(StreamIcons.lightning, color: Colors.white,), child: Icon(StreamIcons.lightning, color: Colors.white,),
maxRadius: 40.0,
), ),
//subtitle: Text(c.description), //subtitle: Text(c.description),
onTap: () { onTap: () {
@@ -460,6 +463,7 @@ class MessageInputState extends State<MessageInput> {
), ),
), ),
), ),
),
); );
}); });
} }