deprecate old widgets
This commit is contained in:
@@ -16,6 +16,10 @@ import 'package:stream_chat_flutter_core/src/stream_controller_extension.dart';
|
||||
/// using Flutter's [BuildContext].
|
||||
///
|
||||
/// API docs: https://getstream.io/chat/docs/flutter-dart/query_channels/
|
||||
@Deprecated(
|
||||
"'ChannelsBloc' is deprecated and shouldn't be used. "
|
||||
"Please use 'StreamChannelListView' instead.",
|
||||
)
|
||||
class ChannelsBloc extends StatefulWidget {
|
||||
/// Creates a new [ChannelsBloc]. The parameter [child] must be supplied and
|
||||
/// not null.
|
||||
|
||||
Reference in New Issue
Block a user