Flutter: Support for setting max height on multiline text inputs

Created on 11 Oct 2016  ·  1Comment  ·  Source: flutter/flutter

Multiline text inputs will expand infinitely as more text is entered. The client should be able to specify a max number of rows (and possible a minimum?), and text should scroll vertically.

text input framework

Most helpful comment

Setting maxLines allows as many lines up to that number, but it also initially starts with that many rows. So, setting maxLines to 5 starts with 5 lines, instead of 1. Is this intended and how can I work around this?

>All comments

Setting maxLines allows as many lines up to that number, but it also initially starts with that many rows. So, setting maxLines to 5 starts with 5 lines, instead of 1. Is this intended and how can I work around this?

Was this page helpful?
0 / 5 - 0 ratings