Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter multipline textfield height

TextField(
  keyboardType: TextInputType.multiline,
  maxLines: null,
  minLines: 3, // this will give you default height, you should adjust it.
  //Optional way to do full screen
  //(MediaQuery.of(context).size.height / 25).toInt()
  ...
)
 
PREVIOUS NEXT
Tagged: #flutter #multipline #textfield #height
ADD COMMENT
Topic
Name
8+3 =