FileAttachment constructor
const
FileAttachment({
- Key? key,
- required Message message,
- required Attachment attachment,
- Size? size,
- Widget? title,
- Widget? trailing,
- VoidCallback? onAttachmentTap,
Constructor for creating a widget when attachment is of type 'file'
Implementation
const FileAttachment({
Key? key,
required Message message,
required Attachment attachment,
Size? size,
this.title,
this.trailing,
this.onAttachmentTap,
}) : super(
key: key,
message: message,
attachment: attachment,
size: size,
);