fix: attachments ui
This commit is contained in:
@@ -254,8 +254,14 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
maxHeight: widget.maxHeight,
|
maxHeight: widget.maxHeight,
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(8.0),
|
borderRadius: BorderRadius.circular(16.0),
|
||||||
border: Border.all()
|
border: Border.all(
|
||||||
|
color: _typingStarted
|
||||||
|
? Colors.transparent
|
||||||
|
: Theme.of(context).brightness == Brightness.dark
|
||||||
|
? Colors.white.withOpacity(.2)
|
||||||
|
: Colors.black.withOpacity(.2)),
|
||||||
|
)
|
||||||
),
|
),
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
@@ -312,9 +318,11 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hintText: 'Write a message',
|
hintText: 'Write a message',
|
||||||
prefixText: _commandEnabled ? null : ' ',
|
prefixText: _commandEnabled ? null : ' ',
|
||||||
border: OutlineInputBorder(
|
border: InputBorder.none,
|
||||||
borderRadius: BorderRadius.circular(32),
|
focusedBorder: InputBorder.none,
|
||||||
),
|
enabledBorder: InputBorder.none,
|
||||||
|
errorBorder: InputBorder.none,
|
||||||
|
disabledBorder: InputBorder.none,
|
||||||
contentPadding: EdgeInsets.all(8),
|
contentPadding: EdgeInsets.all(8),
|
||||||
prefixIcon: _commandEnabled
|
prefixIcon: _commandEnabled
|
||||||
? Padding(
|
? Padding(
|
||||||
|
|||||||
Reference in New Issue
Block a user