deprecate core lists
This commit is contained in:
@@ -54,6 +54,11 @@ import 'package:stream_chat_flutter_core/src/typedef.dart';
|
|||||||
///
|
///
|
||||||
/// Make sure to have a [StreamChatCore] ancestor in order to provide the
|
/// Make sure to have a [StreamChatCore] ancestor in order to provide the
|
||||||
/// information about the channels.
|
/// information about the channels.
|
||||||
|
@Deprecated('''
|
||||||
|
ChannelListCore is deprecated and will be removed in the next
|
||||||
|
major version. Use StreamChannelListController instead to create your custom list.
|
||||||
|
More details here https://getstream.io/chat/docs/sdk/flutter/stream_chat_flutter_core/stream_channel_list_controller
|
||||||
|
''')
|
||||||
class ChannelListCore extends StatefulWidget {
|
class ChannelListCore extends StatefulWidget {
|
||||||
/// Instantiate a new ChannelListView
|
/// Instantiate a new ChannelListView
|
||||||
const ChannelListCore({
|
const ChannelListCore({
|
||||||
|
|||||||
@@ -31,6 +31,11 @@ import 'package:stream_chat_flutter_core/src/typedef.dart';
|
|||||||
/// information about the messages.
|
/// information about the messages.
|
||||||
/// The widget uses a [ListView.separated] to render the list of messages.
|
/// The widget uses a [ListView.separated] to render the list of messages.
|
||||||
///
|
///
|
||||||
|
@Deprecated('''
|
||||||
|
MessageSearchListCore is deprecated and will be removed in the next
|
||||||
|
major version. Use StreamMessageSearchListController instead to create your custom list.
|
||||||
|
More details here https://getstream.io/chat/docs/sdk/flutter/stream_chat_flutter_core/stream_message_search_list_controller
|
||||||
|
''')
|
||||||
class MessageSearchListCore extends StatefulWidget {
|
class MessageSearchListCore extends StatefulWidget {
|
||||||
/// Instantiate a new [MessageSearchListView].
|
/// Instantiate a new [MessageSearchListView].
|
||||||
/// The following parameters must be supplied and not null:
|
/// The following parameters must be supplied and not null:
|
||||||
|
|||||||
@@ -53,6 +53,11 @@ import 'package:stream_chat_flutter_core/stream_chat_flutter_core.dart';
|
|||||||
///
|
///
|
||||||
/// The parameters [listBuilder], [loadingBuilder], [emptyBuilder] and
|
/// The parameters [listBuilder], [loadingBuilder], [emptyBuilder] and
|
||||||
/// [errorBuilder] must all be supplied and not null.
|
/// [errorBuilder] must all be supplied and not null.
|
||||||
|
@Deprecated('''
|
||||||
|
UserListCore is deprecated and will be removed in the next
|
||||||
|
major version. Use StreamUserListController instead to create your custom list.
|
||||||
|
More details here https://getstream.io/chat/docs/sdk/flutter/stream_chat_flutter_core/stream_user_list_controller
|
||||||
|
''')
|
||||||
class UserListCore extends StatefulWidget {
|
class UserListCore extends StatefulWidget {
|
||||||
/// Instantiate a new [UserListCore]
|
/// Instantiate a new [UserListCore]
|
||||||
const UserListCore({
|
const UserListCore({
|
||||||
|
|||||||
Reference in New Issue
Block a user