refactor(ui, core): Deprecate v3
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:stream_chat_flutter/stream_chat_flutter.dart';
|
||||
|
||||
/// {@macro message_action}
|
||||
@Deprecated("Use 'StreamMessageActions' instead")
|
||||
typedef MessageAction = StreamMessageAction;
|
||||
|
||||
/// {@template message_action}
|
||||
/// Class describing a message action
|
||||
class MessageAction {
|
||||
/// returns a new instance of a [MessageAction]
|
||||
MessageAction({
|
||||
/// {@endtemplate}
|
||||
class StreamMessageAction {
|
||||
/// returns a new instance of a [StreamMessageAction]
|
||||
StreamMessageAction({
|
||||
this.leading,
|
||||
this.title,
|
||||
this.onTap,
|
||||
|
||||
Reference in New Issue
Block a user