If I have a long headline, which breaks into two lines depending on length of the String, the body text is not clipping correct inside the Container widget
Expanded(
child: Container(
height: MediaQuery.of(context).size.height / 7.5,
padding: EdgeInsets.only(right: 8),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(
'HERE SOME LONG HEADLINE, WITH 1 or 2 Lines'
maxLines: 2,
overflow: TextOverflow.ellipsis,
),
SizedBox(
height: 3.0,
),
Expanded(
child: Text(
'here some long body text over more lines, which is cut wrong when the headline is two lines',
overflow: TextOverflow.ellipsis,
softWrap: true,
maxLines: 5,
textAlign: TextAlign.left,
),
),
],
),
),
),