deprecate old widgets

This commit is contained in:
Salvatore Giordano
2022-02-01 11:57:26 +01:00
parent f53ee0b4f1
commit e80cebe9aa
5 changed files with 27 additions and 17 deletions
@@ -44,6 +44,11 @@ import 'package:stream_chat_flutter/stream_chat_flutter.dart';
/// The widget renders the ui based on the first ancestor of type
/// [StreamChatTheme].
/// Modify it to change the widget appearance.
@Deprecated(
"'ChannelName' is deprecated and shouldn't be used. "
"Please use 'StreamChannelName' instead.",
)
class ChannelAvatar extends StatelessWidget {
/// Instantiate a new ChannelImage
const ChannelAvatar({