VoiceTranscriptDisplay constructor

const VoiceTranscriptDisplay({
  1. Key? key,
  2. String? interimTranscript,
  3. String? finalTranscript,
  4. VoidCallback? onClear,
  5. double maxHeight = 120,
  6. bool showClearButton = true,
})

Implementation

const VoiceTranscriptDisplay({
  Key? key,
  this.interimTranscript,
  this.finalTranscript,
  this.onClear,
  this.maxHeight = 120,
  this.showClearButton = true,
}) : super(key: key);