remove deprecated stuff from older versions

This commit is contained in:
Salvatore Giordano
2022-05-02 17:45:06 +02:00
parent da627a6c8a
commit 6f6032441c
6 changed files with 1 additions and 96 deletions
@@ -101,14 +101,6 @@ class StreamMessageWidget extends StatefulWidget {
vertical: 8,
),
this.attachmentPadding = EdgeInsets.zero,
@Deprecated('''
allRead is now deprecated and it will be removed in future releases.
The MessageWidget now listens for read events on its own.
''') this.allRead = false,
@Deprecated('''
readList is now deprecated and it will be removed in future releases.
The MessageWidget now listens for read events on its own.
''') this.readList,
this.onQuotedMessageTap,
this.customActions = const [],
this.onAttachmentTap,
@@ -347,9 +339,6 @@ class StreamMessageWidget extends StatefulWidget {
/// If true the widget will show the reactions
final bool showReactions;
///
final bool allRead;
/// If true the widget will show the thread reply indicator
final bool showThreadReplyIndicator;
@@ -365,9 +354,6 @@ class StreamMessageWidget extends StatefulWidget {
/// Used in [StreamMessageReactionsModal] and [StreamMessageActionsModal]
final bool showReactionPickerIndicator;
/// List of users who read
final List<Read>? readList;
/// Callback when show message is tapped
final ShowMessageCallback? onShowMessage;