feat: commands ui
This commit is contained in:
@@ -402,17 +402,19 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Card(
|
child: Card(
|
||||||
color: StreamChatTheme.of(context).primaryColor,
|
color: StreamChatTheme.of(context).primaryColor,
|
||||||
|
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)
|
||||||
),
|
),
|
||||||
child: ListView(
|
child: ListView(
|
||||||
padding: const EdgeInsets.all(0),
|
padding: const EdgeInsets.all(0),
|
||||||
@@ -450,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,),
|
child: Icon(StreamIcons.lightning, color: Colors.white,),
|
||||||
maxRadius: 25.0,
|
maxRadius: 15.0,
|
||||||
),
|
),
|
||||||
//subtitle: Text(c.description),
|
//subtitle: Text(c.description),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
|||||||
Reference in New Issue
Block a user