NiceSpeechToText constructor

const NiceSpeechToText({
  1. Key? key,
  2. NiceSpeechResultCallback? onResult,
  3. String placeholder = 'Tap mic to speak…',
  4. String language = 'en-US',
  5. VoidCallback? onStart,
  6. VoidCallback? onStop,
})

Implementation

const NiceSpeechToText({
  super.key,
  this.onResult,
  this.placeholder = 'Tap mic to speak…',
  this.language = 'en-US',
  this.onStart,
  this.onStop,
});