chore(ui): improve MentionTile deprecation message.
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user