overflow text overflow.ellipsis not working flutter code example
Example 1: text overflow ellipsis flutter
Text(
"Introduction to Very very very long text",
maxLines: 1,
overflow: TextOverflow.ellipsis,
softWrap: false,
style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold),
),
Example 2: text in column flutter overflow ellipsis not working
return Expanded(
child: Container(
child: Column(
children: [
Text("Your text here...",
overflow: TextOverflow.ellipsis
)
]
)
)
);