add flexible

This commit is contained in:
Valentin CZERYBA 2024-09-29 11:02:27 +02:00
parent 1cdae0bb33
commit 47dfcc3632

View File

@ -226,7 +226,11 @@ class _ItemMenuState extends State<ItemMenu> with ShowErrorDialog {
), ),
Row(children: [ Row(children: [
Icon(Icons.explore), Icon(Icons.explore),
Text("Carte : ${place}", style: TextStyle(fontSize: 15.0)) Flexible(
child: Text("Carte : ${place}",
style: TextStyle(fontSize: 15.0),
maxLines: 3,
overflow: TextOverflow.ellipsis))
]), ]),
Row(children: [ Row(children: [
Icon(Icons.group), Icon(Icons.group),
@ -235,8 +239,11 @@ class _ItemMenuState extends State<ItemMenu> with ShowErrorDialog {
]), ]),
Row(children: [ Row(children: [
Icon(Icons.description), Icon(Icons.description),
Text("Description : ${eventDescription}", Flexible(
style: TextStyle(fontSize: 15.0)) child: Text("Description : ${eventDescription}",
style: TextStyle(fontSize: 15.0),
maxLines: 3,
overflow: TextOverflow.ellipsis))
]) ])
], ],
))); )));