From 7463b4f7258168588d67bd479f5d38257d00e1db Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Fri, 6 Nov 2020 11:31:23 +0100 Subject: [PATCH] fix text overflow --- lib/src/message_input.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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), + ), ), ) ],