fix: fixed message_input.dart
This commit is contained in:
@@ -462,15 +462,16 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
disabledBorder: OutlineInputBorder(
|
disabledBorder: OutlineInputBorder(
|
||||||
borderSide: BorderSide(color: Colors.transparent)),
|
borderSide: BorderSide(color: Colors.transparent)),
|
||||||
contentPadding: const EdgeInsets.fromLTRB(16, 12, 13, 11),
|
contentPadding: const EdgeInsets.fromLTRB(16, 12, 13, 11),
|
||||||
|
prefixIconConstraints: BoxConstraints.tight(Size(78, 24)),
|
||||||
|
suffixIconConstraints: BoxConstraints.tight(Size(40, 40)),
|
||||||
prefixIcon: _commandEnabled
|
prefixIcon: _commandEnabled
|
||||||
? Container(
|
? Container(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(12),
|
borderRadius: BorderRadius.circular(12),
|
||||||
color: theme.colorTheme.accentBlue,
|
color: theme.colorTheme.accentBlue,
|
||||||
),
|
),
|
||||||
height: 24,
|
margin: const EdgeInsets.only(right: 4, left: 8),
|
||||||
margin: const EdgeInsets.all(8.0),
|
alignment: Alignment.center,
|
||||||
padding: const EdgeInsets.only(right: 8, left: 4),
|
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
Reference in New Issue
Block a user