feat: commands ui

This commit is contained in:
Deven Joshi
2020-10-23 17:24:02 +05:30
parent 64cf493629
commit 9ed54d5328
+10 -8
View File
@@ -402,17 +402,19 @@ class MessageInputState extends State<MessageInput> {
padding: const EdgeInsets.all(8.0),
child: Card(
color: StreamChatTheme.of(context).primaryColor,
clipBehavior: Clip.antiAlias,
child: Container(
constraints: BoxConstraints.loose(Size.fromHeight(400)),
decoration: BoxDecoration(
boxShadow: [
BoxShadow(
spreadRadius: -8,
blurRadius: 5.0,
offset: Offset(0, -4),
),
],
// boxShadow: [
// BoxShadow(
// spreadRadius: -8,
// blurRadius: 5.0,
// offset: Offset(0, -4),
// ),
// ],
color: StreamChatTheme.of(context).primaryColor,
borderRadius: BorderRadius.circular(8.0)
),
child: ListView(
padding: const EdgeInsets.all(0),
@@ -450,7 +452,7 @@ class MessageInputState extends State<MessageInput> {
trailing: CircleAvatar(
backgroundColor: StreamChatTheme.of(context).accentColor,
child: Icon(StreamIcons.lightning, color: Colors.white,),
maxRadius: 25.0,
maxRadius: 15.0,
),
//subtitle: Text(c.description),
onTap: () {