Attachment constructor

const Attachment({
  1. required bool userSent,
  2. required PapercupsProps props,
  3. required String fileName,
  4. required Color textColor,
  5. required bool msgHasText,
  6. required PapercupsAttachment attachment,
  7. Key? key,
})

Implementation

const Attachment(
    {required this.userSent,
    required this.props,
    required this.fileName,
    required this.textColor,
    required this.msgHasText,
    required this.attachment,
    Key? key})
    : super(key: key);