1. Update UI to show actual _currentText instead of fixed 'realtime recognizing...' text - Use Flexible widget to handle text overflow - Show actual recognition text when available - Fallback to 'realtime recognizing...' when text is empty 2. Fix final result processing logic - Don't update _currentText when processing final results - Final results only append to text field, don't interfere with real-time display 3. Improve listening status management - Clear _currentText when recording stops - Ensure clean state transitions between recording sessions This fixes the issue where users could only see final results without real-time feedback. |
||
|---|---|---|
| .. | ||
| 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.