FullScreenMedia constructor
const
FullScreenMedia({
- Key? key,
- required List<
Attachment> mediaAttachments, - required Message message,
- int startIndex = 0,
- String? userName,
- ShowMessageCallback? onShowMessage,
- AttachmentActionsBuilder? attachmentActionsModalBuilder,
- 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);