From 671e6f1f5737f2b07ca9f4e37bd2117faac2a31e Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Wed, 26 Feb 2020 17:26:12 +0100 Subject: [PATCH] remove useless animator --- lib/src/message_widget.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/message_widget.dart b/lib/src/message_widget.dart index ff403942..56c1aeea 100644 --- a/lib/src/message_widget.dart +++ b/lib/src/message_widget.dart @@ -257,8 +257,7 @@ class _MessageWidgetState extends State right: isMyMessage ? 0.0 : 8.0, left: isMyMessage ? 8.0 : 0.0, ), - child: AnimatedContainer( - duration: Duration(milliseconds: 300), + child: Container( margin: EdgeInsets.only( top: nOfAttachmentWidgets > 0 ? (topPadding)