#152 selection dialog text wrap

This commit is contained in:
Thibault Deckers 2023-01-18 15:08:30 +01:00
parent 54aa981fd1
commit 841f40fe0f

View file

@ -135,16 +135,14 @@ class SelectionRadioListTile<T> extends StatelessWidget {
reselectable: true, reselectable: true,
title: Text( title: Text(
title, title,
softWrap: false, overflow: TextOverflow.ellipsis,
overflow: TextOverflow.fade, maxLines: 2,
maxLines: 1,
), ),
subtitle: subtitle != null subtitle: subtitle != null
? Text( ? Text(
subtitle, subtitle,
softWrap: false, softWrap: false,
overflow: TextOverflow.fade, overflow: TextOverflow.fade,
maxLines: 1,
) )
: null, : null,
dense: dense, dense: dense,