Merge branch 'feature/null-safety' into feat/ui-nnbd

This commit is contained in:
Salvatore Giordano
2021-05-03 10:46:06 +02:00
14 changed files with 283 additions and 28 deletions
@@ -1,3 +1,7 @@
## 1.5.3
- Updated `stream_chat_core` dependency
## 1.5.2
- Fix accessibility text size overflows
@@ -142,6 +142,7 @@ class MessageListView extends StatefulWidget {
this.onSystemMessageTap,
this.onAttachmentTap,
this.textBuilder,
this.onLinkTap,
}) : super(key: key);
/// Function used to build a custom message widget
@@ -237,6 +238,8 @@ class MessageListView extends StatefulWidget {
/// Customize the MessageWidget textBuilder
final void Function(BuildContext context, Message message)? textBuilder;
final void Function(String link) onLinkTap;
@override
_MessageListViewState createState() => _MessageListViewState();
}
@@ -845,6 +848,7 @@ class _MessageListViewState extends State<MessageListView> {
},
textBuilder:
widget.textBuilder as Widget Function(BuildContext, Message)?,
onLinkTap: widget.onLinkTap,
);
}
@@ -1022,6 +1026,7 @@ class _MessageListViewState extends State<MessageListView> {
onAttachmentTap: widget.onAttachmentTap,
textBuilder:
widget.textBuilder as Widget Function(BuildContext, Message)?,
onLinkTap: widget.onLinkTap,
);
if (!message.isDeleted &&
+3 -3
View File
@@ -1,7 +1,7 @@
name: stream_chat_flutter
homepage: https://github.com/GetStream/stream-chat-flutter
description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.
version: 1.5.2
version: 1.5.3
repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
@@ -13,8 +13,8 @@ environment:
dependencies:
flutter:
sdk: flutter
stream_chat_flutter_core: ^1.5.1
photo_view: ^0.11.1
stream_chat_flutter_core: ^1.5.2
photo_view: ^0.11.0
rxdart: ^0.26.0
scrollable_positioned_list: ^0.2.0-nullsafety.0
jiffy: ^4.1.0