remove unused showScrollToBottom property from MessageListCore
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -368,7 +368,6 @@ class _MessageListViewState extends State<MessageListView> {
|
||||
(context, list) => _buildListView(list),
|
||||
messageListController: _messageListController,
|
||||
parentMessage: widget.parentMessage,
|
||||
showScrollToBottom: widget.showScrollToBottom,
|
||||
errorWidgetBuilder: widget.errorWidgetBuilder ??
|
||||
(BuildContext context, Object error) => Center(
|
||||
child: Text(
|
||||
|
||||
@@ -68,7 +68,6 @@ class MessageListCore extends StatefulWidget {
|
||||
required this.emptyBuilder,
|
||||
required this.messageListBuilder,
|
||||
required this.errorWidgetBuilder,
|
||||
this.showScrollToBottom = true,
|
||||
this.parentMessage,
|
||||
this.messageListController,
|
||||
this.messageFilter,
|
||||
@@ -94,10 +93,6 @@ class MessageListCore extends StatefulWidget {
|
||||
/// event of a connection failure.
|
||||
final ErrorBuilder errorWidgetBuilder;
|
||||
|
||||
/// If true will show a scroll to bottom message when there are new messages
|
||||
/// and the scroll offset is not zero.
|
||||
final bool showScrollToBottom;
|
||||
|
||||
/// If the current message belongs to a `thread`, this property represents the
|
||||
/// first message or the parent of the conversation.
|
||||
final Message? parentMessage;
|
||||
|
||||
Reference in New Issue
Block a user