formatting text

This commit is contained in:
Valentin CZERYBA 2024-09-29 12:52:02 +02:00
parent 45dc5d6c84
commit b283165a86

View File

@ -217,25 +217,49 @@ class _ItemMenuState extends State<ItemMenu> with ShowErrorDialog {
child: Container(height: 250, child: Image.network(imgUrl)),
),
),
Row(children: [
Icon(Icons.event),
Text(
"Date : ",
style: TextStyle(fontSize: 15.0, fontWeight: FontWeight.bold),
)
]),
Row(
children: [
Icon(Icons.event),
Text("Date : ${eventStartDate}",
style: TextStyle(fontSize: 15.0))
Flexible(
child: Text("${eventStartDate}",
style: TextStyle(fontSize: 15.0)))
],
),
Row(children: [
Icon(Icons.explore),
Text(
"Carte : ",
style: TextStyle(fontSize: 15.0, fontWeight: FontWeight.bold),
)
]),
Row(children: [
Flexible(
child: Text("Carte : ${place}",
child: Text("${place}",
style: TextStyle(fontSize: 15.0),
maxLines: 3,
overflow: TextOverflow.ellipsis))
]),
Row(children: [
Icon(Icons.group),
Text("Organisateurs : ${organizers}",
style: TextStyle(fontSize: 15.0))
Text(
"Organisateurs : ",
style: TextStyle(fontSize: 15.0, fontWeight: FontWeight.bold),
)
]),
Row(children: [
Flexible(
child: Text(
"${organizers}",
style: TextStyle(fontSize: 15.0),
maxLines: 3,
overflow: TextOverflow.ellipsis,
))
]),
Row(children: [
Icon(Icons.description),