ChatRecordVoiceView constructor

const ChatRecordVoiceView({
  1. Key? key,
  2. required bool selectedCancelArea,
  3. required bool selectedSoundToWordArea,
  4. required bool selectedPressArea,
  5. required bool showSpeechRecognizing,
  6. required bool showRecognizeFailed,
  7. dynamic onCancel()?,
  8. dynamic onConfirm()?,
})

Implementation

const ChatRecordVoiceView(
    {Key? key,
    required this.selectedCancelArea,
    required this.selectedSoundToWordArea,
    required this.selectedPressArea,
    required this.showSpeechRecognizing,
    required this.showRecognizeFailed,
    this.onCancel,
    this.onConfirm})
    : super(key: key);