chore(ui): improve MentionTile deprecation message.

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2021-09-29 17:21:15 +05:30
committed by xsahil03x
parent a0c98aa851
commit 7ad621f93d
@@ -4,10 +4,7 @@ import 'package:stream_chat_flutter/stream_chat_flutter.dart';
/// This widget is used for showing user tiles for mentions
/// Use [title], [subtitle], [leading], [trailing] for
/// substituting widgets in respective positions
@Deprecated(
"'MentionTile' widget is deprecated and shouldn't be used. "
"Use 'UserMentionTile' instead",
)
@Deprecated('Use `UserMentionTile` instead. Will be removed in future release')
class MentionTile extends StatelessWidget {
/// Constructor for creating a [MentionTile] widget
const MentionTile(