refactor(ui, core): Deprecate v3

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2022-03-10 14:12:01 +05:30
committed by xsahil03x
parent 55b87295ab
commit a7e3839256
128 changed files with 3891 additions and 1362 deletions
@@ -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,