isSpeechMode property
ValueNotifier<bool>
isSpeechMode
Indicator of whenever speech recognition is active.
Can be set directly, like this:
AppBarWithSearchSwitch.of(context).isSpeechMode.value = true;
``
Can be changed by parameter: [customIsSpeechModeNotifier] = `ValueNotifier<bool>(false)`
Implementation
ValueNotifier<bool> get isSpeechMode =>
customIsSpeechModeNotifier ?? _isSpeechModeGlobalFallBack;