remove unused showScrollToBottom property from MessageListCore

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-06-28 16:04:25 +05:30
parent e38381483a
commit 5e7891e523
2 changed files with 0 additions and 6 deletions
@@ -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;