Answers for "how to write multiple lines in Text widget in flutter"

1

how to flutter multiple line text

Container(
  width: 150,
  child: Text(
    "This text is very very very very very very very very very very very very very very very very very very very very very very very very very long",
    overflow: TextOverflow.ellipsis,
    maxLines: 5,
  ),
),
Posted by: Guest on August-01-2020
3

flutter multiline text field

new TextField(
  keyboardType: TextInputType.multiline,
  maxLines: whatever,
)
Posted by: Guest on May-12-2020

Code answers related to "how to write multiple lines in Text widget in flutter"

Browse Popular Code Answers by Language