StreamFullScreenMedia constructor

const StreamFullScreenMedia({
  1. Key? key,
  2. required List<StreamAttachmentPackage> mediaAttachmentPackages,
  3. int startIndex = 0,
  4. String userName = '',
  5. ShowMessageCallback? onShowMessage,
  6. ReplyMessageCallback? onReplyMessage,
  7. AttachmentActionsBuilder? attachmentActionsModalBuilder,
  8. bool autoplayVideos = false,
})

Instantiate a new FullScreenImage

Implementation

const StreamFullScreenMedia({
  super.key,
  required this.mediaAttachmentPackages,
  this.startIndex = 0,
  this.userName = '',
  this.onShowMessage,
  this.onReplyMessage,
  this.attachmentActionsModalBuilder,
  this.autoplayVideos = false,
}) : assert(startIndex >= 0, 'startIndex cannot be negative');