ChatVideoView constructor

const ChatVideoView({
  1. Key? key,
  2. required String msgId,
  3. required bool isReceived,
  4. required int index,
  5. Stream<int>? clickStream,
  6. String? snapshotPath,
  7. String? snapshotUrl,
  8. String? videoPath,
  9. String? videoUrl,
  10. double? width,
  11. double? height,
  12. double widgetWidth = 100,
  13. Stream<MsgStreamEv<int>>? msgSenProgressStream,
  14. int initMsgSendProgress = 100,
})

Implementation

const ChatVideoView({
  Key? key,
  required this.msgId,
  required this.isReceived,
  required this.index,
  this.clickStream,
  this.snapshotPath,
  this.snapshotUrl,
  this.videoPath,
  this.videoUrl,
  this.width,
  this.height,
  this.widgetWidth = 100,
  this.msgSenProgressStream,
  this.initMsgSendProgress = 100,
}) : super(key: key);