ChatFileView constructor

const ChatFileView({
  1. Key? key,
  2. required String msgId,
  3. required String fileName,
  4. required int bytes,
  5. required int index,
  6. Stream<int>? clickStream,
  7. double width = 158,
  8. int initProgress = 100,
  9. Stream<MsgStreamEv<int>>? uploadStream,
})

Implementation

const ChatFileView({
  Key? key,
  required this.msgId,
  required this.fileName,
  required this.bytes,
  required this.index,
  // required this.filePath,
  // required this.url,
  this.clickStream,
  this.width = 158,
  this.initProgress = 100,
  this.uploadStream,
}) : super(key: key);