flutter expanding text field horizontally code example
Example: dynamically increase the size of textfield as user types flutter
set the maxLines property of TextField to null. maxLines: null
set the maxLines property of TextField to null. maxLines: null