From 9ed54d5328cd6ab7f314451df4fe243c89ce963f Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Fri, 23 Oct 2020 17:24:02 +0530 Subject: [PATCH] feat: commands ui --- lib/src/message_input.dart | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index d89441cc..602217e8 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -402,17 +402,19 @@ class MessageInputState extends State { 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 { 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: () {