Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide TextField selection handles

Tags:

flutter

dart

Im my application when the user selects a TextField the existing text gets automatically selected when the Focus changes to the textfield. How do I hide the blue selection handles that appear?

The reason I want to automatically select the existing text is so that the user can begin typing and the textfield will automatically overwrite the existing value instead of appending to it.

enter image description here

like image 989
Arizona1911 Avatar asked Jun 20 '26 05:06

Arizona1911


1 Answers

I figured it out. You can set the enableInteractiveSelection property to false.

like image 131
Arizona1911 Avatar answered Jun 21 '26 19:06

Arizona1911



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!