feat: commands ui
This commit is contained in:
@@ -401,18 +401,19 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Card(
|
child: Card(
|
||||||
|
elevation: 4.0,
|
||||||
color: StreamChatTheme.of(context).primaryColor,
|
color: StreamChatTheme.of(context).primaryColor,
|
||||||
clipBehavior: Clip.antiAlias,
|
clipBehavior: Clip.antiAlias,
|
||||||
child: Container(
|
child: Container(
|
||||||
constraints: BoxConstraints.loose(Size.fromHeight(400)),
|
constraints: BoxConstraints.loose(Size.fromHeight(400)),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
boxShadow: [
|
// boxShadow: [
|
||||||
BoxShadow(
|
// BoxShadow(
|
||||||
spreadRadius: -8,
|
// spreadRadius: -8,
|
||||||
blurRadius: 5.0,
|
// blurRadius: 5.0,
|
||||||
offset: Offset(0, -4),
|
// offset: Offset(0, -4),
|
||||||
),
|
// ),
|
||||||
],
|
// ],
|
||||||
color: StreamChatTheme.of(context).primaryColor,
|
color: StreamChatTheme.of(context).primaryColor,
|
||||||
borderRadius: BorderRadius.circular(8.0)
|
borderRadius: BorderRadius.circular(8.0)
|
||||||
),
|
),
|
||||||
@@ -451,7 +452,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, size: 10.0,),
|
child: Icon(StreamIcons.lightning, color: Colors.white, size: 12.5,),
|
||||||
maxRadius: 12.5,
|
maxRadius: 12.5,
|
||||||
),
|
),
|
||||||
//subtitle: Text(c.description),
|
//subtitle: Text(c.description),
|
||||||
|
|||||||
Reference in New Issue
Block a user