flutter text line through code example
Example 1: text line through flutter
Text('\$8.99', style: TextStyle(decoration: TextDecoration.lineThrough))
Example 2: text overflow in new line in flutter
Row(
children: [
Flexible(
child: Text('Add long text here',
maxLines: 1,
softWrap: false,
overflow: TextOverflow.fade,
),
),
],
)