createTtsModel method
Creates and returns a new SpeechSynthesizer for the active TTS model.
Uses the active TTS model set via FlutterGemma.installTts() /
modelManager.setActiveModel(). Native-only — throws on web.
Implementation
@override
Future<SpeechSynthesizer> createTtsModel({
PreferredBackend? preferredBackend,
}) async {
throw UnsupportedError(
'On-device TTS is not supported on web (flutter_gemma_speech TTS is native-only).',
);
}