VoiceTextButton
VoiceTextButton wraps voice text entry in a button-style control. Use it when the user should start or edit voice text from a focused button surface.
Key Fields
text: current text value.isFocused: focus state used for visual presentation.onTextChange: called withNativeVoiceTextEditBoxEventwhen voice/text input changes.
Example
VoiceTextButton({
text: this.searchText,
}).onTextChange(event => {
this.searchText = event.text;
});
Use NativeVoiceTextEditBox when the design calls for a direct voice-enabled edit box instead of a button surface.