on-internet
← Community

Flutter TextField loses keystrokes while typing when using Provider and setState

Stack Overflow ·

[Flutter] TextField Search Bar Keystroke Issue – Provider and TextEditingController Hi Flutter developers, I'm facing an issue with the search bar in my Flutter ERP application. I'm using Provider (ChangeNotifierProvider) for state management. While typing into the search field, I'm experiencing unexpected keyboard/input behaviour. I suspect widget rebuilds, Provider notifications, or TextEditingController management might be involved. 1. My implementation I'm using: Flutter and Dart Provider (ChangeNotifierProvider) TextEditingController API-based search Consumer for UI updates 2. Search Text

Comments

Sign in or sign up to comment and upvote.

No comments yet.