NiceSpeechToText constructor
const
NiceSpeechToText({
- Key? key,
- NiceSpeechResultCallback? onResult,
- String placeholder = 'Tap mic to speak…',
- String language = 'en-US',
- VoidCallback? onStart,
- VoidCallback? onStop,
Implementation
const NiceSpeechToText({
super.key,
this.onResult,
this.placeholder = 'Tap mic to speak…',
this.language = 'en-US',
this.onStart,
this.onStop,
});