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)), child: Container(height: 250, child: Image.network(imgUrl)),
), ),
), ),
Row(children: [
Icon(Icons.event),
Text(
"Date : ",
style: TextStyle(fontSize: 15.0, fontWeight: FontWeight.bold),
)
]),
Row( Row(
children: [ children: [
Icon(Icons.event), Flexible(
Text("Date : ${eventStartDate}", child: Text("${eventStartDate}",
style: TextStyle(fontSize: 15.0)) style: TextStyle(fontSize: 15.0)))
], ],
), ),
Row(children: [ Row(children: [
Icon(Icons.explore), Icon(Icons.explore),
Text(
"Carte : ",
style: TextStyle(fontSize: 15.0, fontWeight: FontWeight.bold),
)
]),
Row(children: [
Flexible( Flexible(
child: Text("Carte : ${place}", child: Text("${place}",
style: TextStyle(fontSize: 15.0), style: TextStyle(fontSize: 15.0),
maxLines: 3, maxLines: 3,
overflow: TextOverflow.ellipsis)) overflow: TextOverflow.ellipsis))
]), ]),
Row(children: [ Row(children: [
Icon(Icons.group), Icon(Icons.group),
Text("Organisateurs : ${organizers}", Text(
style: TextStyle(fontSize: 15.0)) "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: [ Row(children: [
Icon(Icons.description), Icon(Icons.description),