flutter_native_speech_to_text 1.0.0
flutter_native_speech_to_text: ^1.0.0 copied to clipboard
A Flutter plugin for native speech-to-text using Android's RecognizerIntent ACTION_RECOGNIZE_SPEECH.
1.0.0 #
- Initial release of the plugin.
- Speech recognition using Android's native
ACTION_RECOGNIZE_SPEECHIntent. - Configurable parameters for
RecognizerIntentextras:languageModel(free form or web search)languageandlanguagePreferenceprompt,maxResultspartialResults,confidenceScores- Speech silence length limits (
speechInputMinimumLengthMillis,speechInputCompleteSilenceLengthMillis,speechInputPossiblyCompleteSilenceLengthMillis)
- Availability check with
FlutterNativeSpeechToText.isAvailable(). - Stop and cancel session controls.
- iOS support scaffold: the iOS implementation is a safe stub that never crashes.
isAvailable()returnsfalse.listen()/stop()/cancel()throwSpeechToTextExceptionwith codePLATFORM_NOT_SUPPORTED, so host apps can display and log the error.
- Complete example application demonstrating integration.