v1.0.9
livespeechtotext
Effortlessly add speech-to-text to your Flutter apps, enabling voice-controlled features. Transcribe spoken words into text easier with this plugin.
27Likes 5630-day downloads150Pub points
AndroidiOS
Effortlessly add speech-to-text to your Flutter apps, enabling voice-controlled features. Transcribe spoken words into text easier with this plugin.
{"sdk":"flutter"}^2.0.2{"sdk":"flutter"}^2.0.0English project snapshot. Visit GitHub for the latest content.
Effortlessly add speech-to-text to your Flutter apps, enabling voice-controlled features. Transcribe spoken words into text easier with this plugin.
android/local.propertiesflutter.minSdkVersion=21
flutter.compileSdkVersion=21
android/app/build.gradledef flutterMinSdkVersion = localProperties.getProperty('flutter.minSdkVersion')
if (flutterMinSdkVersion == null) {
flutterMinSdkVersion = '21'
}
def flutterCompileSdkVersion = localProperties.getProperty('flutter.compileSdkVersion')
if (flutterCompileSdkVersion == null) {
flutterCompileSdkVersion = '31'
}
android {
...
compileSdkVersion flutterCompileSdkVersion.toInteger()
...
defaultConfig {
...
minSdkVersion flutterMinSdkVersion.toInteger()
...
}
}
It is highly recommended use permission_handler:^9.2.0 package to make sure the user have required permissions granted.
android/app/src/{debug,main,profile}/AndroidManifest.xml<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
ios/Runner/Info.plist<key>NSMicrophoneUsageDescription</key>
<string>Your voice input needed for the speech to text functionality</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>Allow app to get text input from your speech</string>
ios/Podfile
## dart: PermissionGroup.microphone
'PERMISSION_MICROPHONE=1',
## dart: PermissionGroup.speech
'PERMISSION_SPEECH_RECOGNIZER=1',
sudo defaults write com.apple.security.device.microphone qemu-system-aarch64 -bool true