diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index e8e5900a..5cfff4e1 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -729,10 +729,12 @@ class MessageInputState extends State { color: StreamChatTheme.of(context).accentColor, ), ), - Text( - 'Emoji matching "$query"', - style: TextStyle( - color: Colors.black.withOpacity(.5), + Flexible( + child: Text( + 'Emoji matching "$query"', + style: TextStyle( + color: Colors.black.withOpacity(.5), + ), ), ) ],