fix: change service declaration to non-late initialization in TextToSpeechController

This commit is contained in:
cogwheel0
2025-10-26 19:15:40 +05:30
parent 3c8a93d956
commit 551e844c03

View File

@@ -78,7 +78,7 @@ class TextToSpeechState {
} }
class TextToSpeechController extends Notifier<TextToSpeechState> { class TextToSpeechController extends Notifier<TextToSpeechState> {
late final TextToSpeechService _service; late TextToSpeechService _service;
bool _handlersBound = false; bool _handlersBound = false;
Future<bool>? _initializationFuture; Future<bool>? _initializationFuture;