flutter-autocomplete-textfield icon indicating copy to clipboard operation
flutter-autocomplete-textfield copied to clipboard

Question : How to access the textvalue if user submitts via keyboard ?

Open Wizzel1 opened this issue 5 years ago • 2 comments

If the user doesn't select a suggestion but instead commits his manual text via keyboard ?

Wizzel1 avatar Apr 23 '20 20:04 Wizzel1

dunno if you still need it, but you can use textChanged function. For eg.

textChanged: (val) { setState(() { [your_var_name]= val; }); },

arpit-d avatar May 19 '20 11:05 arpit-d

@arpit-d thanks, much appreciated

Wizzel1 avatar May 20 '20 15:05 Wizzel1