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
@@ -20,19 +20,14 @@ typedef FileAttachment = StreamFileAttachment;
class StreamFileAttachment extends StreamAttachmentWidget {
/// Constructor for creating a widget when attachment is of type 'file'
const StreamFileAttachment({
Key? key,
required Message message,
required Attachment attachment,
Size? size,
super.key,
required super.message,
required super.attachment,
super.size,
this.title,
this.trailing,
this.onAttachmentTap,
}) : super(
key: key,
message: message,
attachment: attachment,
size: size,
);
});
/// Title for attachment
final Widget? title;