ChatVoiceView constructor

const ChatVoiceView({
  1. Key? key,
  2. required int index,
  3. required Stream<int>? clickStream,
  4. required bool isReceived,
  5. String? soundPath,
  6. String? soundUrl,
  7. int? duration,
  8. bool isPlaying = false,
})

Implementation

const ChatVoiceView({
  Key? key,
  required this.index,
  required this.clickStream,
  required this.isReceived,
  this.soundPath,
  this.soundUrl,
  this.duration,
  this.isPlaying = false,
}) : super(key: key);