flutter_voice_commands library

Classes

DefaultPlatformVoiceCommands
Default implementation for unsupported platforms
FlutterVoiceCommands
Main class for voice command recognition and processing. This class provides a unified interface across all platforms, with platform-specific implementations handled internally.
FlutterVoiceCommandsWeb
Web registration class (only available on web) This is a stub that provides the interface without importing web-specific code
FlutterVoiceCommandsWebImpl
Web implementation of the main voice commands class This class provides a web-specific implementation that can be used when the package is running on web platforms.
PlatformVoiceCommands
Platform-specific implementations for voice commands This file provides fallbacks for platforms that don't support the full speech recognition functionality. Base class for platform implementations
PlatformVoiceCommandsFactory
Factory to create platform-specific implementations
VoiceCommand
Represents a voice command with a pattern and associated action.

Exceptions / Errors

InitializationException
Exception thrown when initialization fails.
MicrophonePermissionDeniedException
Exception thrown when microphone permission is denied.
VoiceRecognitionException
Exception thrown when voice recognition fails.
VoiceRecognitionNotAvailableException
Exception thrown when voice recognition is not available on the device.