Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter TextField disable input

Tags:

flutter

Can I disable input in TextField with open keyboard?

I am trying TextField with readOnly property, but when I set readOnly value true my device keyboard hide. I want do this without hidding keyboard

like image 645
Ash Khachatryan Avatar asked Oct 15 '25 02:10

Ash Khachatryan


1 Answers

You can try this

TextField(
   readyOnly: true,
   showCursor: true,
   // ...
),
like image 163
dm_tr Avatar answered Oct 19 '25 06:10

dm_tr