onSpeechToText property

Future<String?> Function()? onSpeechToText
final

A callback, which is invoked when the microphone button is pressed.

Implementation

final Future<String?> Function()? onSpeechToText;