chore(repo): add lints, update freezed, json_serializable

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2022-05-16 16:58:24 +05:30
committed by xsahil03x
parent 2499755a05
commit 069f380f41
170 changed files with 616 additions and 737 deletions
@@ -15,21 +15,16 @@ typedef ImageAttachment = StreamImageAttachment;
class StreamImageAttachment extends StreamAttachmentWidget {
/// Constructor for creating a [StreamImageAttachment] widget
const StreamImageAttachment({
Key? key,
required Message message,
required Attachment attachment,
super.key,
required super.message,
required super.attachment,
required this.messageTheme,
Size? size,
super.size,
this.showTitle = false,
this.onShowMessage,
this.onReturnAction,
this.onAttachmentTap,
}) : super(
key: key,
message: message,
attachment: attachment,
size: size,
);
});
/// [StreamMessageThemeData] for showing image title
final StreamMessageThemeData messageTheme;