xxxxxxxxxx
Text(
"This is a long text",
overflow: TextOverflow.clip,
maxLines: 1,
softWrap: false,
),
Be careful, if you put Text inside a Column, it may not clip the text properly.
xxxxxxxxxx
Here is the full stackoverflow answer
https://stackoverflow.com/q/49572747/10827515