FullScreenMedia constructor

const FullScreenMedia({
  1. Key? key,
  2. required List<Attachment> mediaAttachments,
  3. required Message message,
  4. int startIndex = 0,
  5. String? userName,
  6. ShowMessageCallback? onShowMessage,
  7. AttachmentActionsBuilder? attachmentActionsModalBuilder,
  8. bool autoplayVideos = false,
})

Instantiate a new FullScreenImage

Implementation

const FullScreenMedia({
  Key? key,
  required this.mediaAttachments,
  required this.message,
  this.startIndex = 0,
  String? userName,
  this.onShowMessage,
  this.attachmentActionsModalBuilder,
  this.autoplayVideos = false,
})  : userName = userName ?? '',
      super(key: key);