diff --git a/lib/src/message_widget.dart b/lib/src/message_widget.dart index d634b0b8..eb13e2ad 100644 --- a/lib/src/message_widget.dart +++ b/lib/src/message_widget.dart @@ -547,6 +547,7 @@ class _MessageWidgetState extends State { } return Padding( + key: Key(attachment.hashCode.toString()), padding: EdgeInsets.only( bottom: 4, ), diff --git a/pubspec.yaml b/pubspec.yaml index 40053962..494eb32d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -23,7 +23,7 @@ dependencies: file_picker: ^2.0.12 image_picker: ^0.6.7+2 flutter_keyboard_visibility: ^4.0.1 - stream_chat: ^0.2.21 + stream_chat: ^0.2.21+1 mime: ^0.9.6+3 visibility_detector: ^0.1.5 http_parser: ^3.1.4