1. Add _baseText variable to track text before recording starts - Preserves existing text when starting new recording session - Provides foundation for real-time appending 2. Update real-time result processing logic - Real-time results now immediately update the text field - Combine base text + current recognition text - Move cursor to end for better UX - Add intelligent spacing between segments 3. Improve final result handling - Final results update base text for next recording - Clean state management between recording sessions 4. Update recording status change logic - Capture base text when recording starts - Maintain proper state transitions Now users can see their speech being converted to text in real-time directly in the input field, providing immediate visual feedback during speech recognition. |
||
|---|---|---|
| .. | ||
| android | ||
| assets/models | ||
| ios | ||
| lib | ||
| test | ||
| .gitignore | ||
| .metadata | ||
| README.md | ||
| analysis_options.yaml | ||
| pubspec.lock | ||
| pubspec.yaml | ||
README.md
yx_asr_example
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.