Here's the code to get current word
_flutterTts.setProgressHandler((String text, int startOffset, int endOffset, String word) { setState(() { _currentWord = word; }); }); https://stackoverflow.com/questions/66048504/how-to-highlight-the-current-word-dynamically-using-flutter-text-to-speech February 04, 2021 at 11:18PM
没有评论:
发表评论