skip to Main Content

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

Answers


  1. set isDense to true like this

    decoration: InputDecoration(
    isDense: true
    ),

    Login or Signup to reply.
  2. I think the best way is put the textfield on Container widget as child and after that assign the height and width

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search