fix messageinput overflow when no action is available
This commit is contained in:
@@ -482,7 +482,11 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
),
|
),
|
||||||
splashRadius: 24,
|
splashRadius: 24,
|
||||||
),
|
),
|
||||||
secondChild: FittedBox(
|
secondChild: widget.disableAttachments &&
|
||||||
|
!widget.showCommandsButton &&
|
||||||
|
widget.actions?.isNotEmpty != true
|
||||||
|
? Offstage()
|
||||||
|
: FittedBox(
|
||||||
child: Row(
|
child: Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
|
|||||||
Reference in New Issue
Block a user