I have developed a desktop application using Flutter and have used a TextField. However, I would like to reduce the height of this TextField. Is there a solution or method to achieve this?
I’ve written code for a TextField based on the image provided.
2
set isDense to true like this
decoration: InputDecoration( isDense: true ),
I think the best way is put the textfield on Container widget as child and after that assign the height and width
Container
Click here to cancel reply.
2
Answers
set isDense to true like this
decoration: InputDecoration(
isDense: true
),
I think the best way is put the textfield on
Container
widget as child and after that assign the height and width