StreamFullScreenMedia constructor
const
StreamFullScreenMedia({
- Key? key,
- required List<
StreamAttachmentPackage> mediaAttachmentPackages, - int startIndex = 0,
- String userName = '',
- ShowMessageCallback? onShowMessage,
- ReplyMessageCallback? onReplyMessage,
- AttachmentActionsBuilder? attachmentActionsModalBuilder,
- 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');