From 102e6ce4d09dcc1485c9274a32b5a1a6a226db7c Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Fri, 11 Dec 2020 17:11:19 +0530 Subject: [PATCH] fix: Fixed file clip bug --- lib/src/message_input.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index befed883..e60c6187 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -362,7 +362,7 @@ class MessageInputState extends State { color: Colors.grey, ), ), - padding: EdgeInsets.all(6.0), + padding: _attachments.isEmpty ? null : EdgeInsets.all(6.0), child: Column( mainAxisSize: MainAxisSize.min, children: [