overflow text

This commit is contained in:
Valentin CZERYBA 2024-10-21 22:47:04 +02:00
parent df80137f46
commit f2de4a2faa
3 changed files with 4 additions and 3 deletions

View File

@ -198,7 +198,7 @@ class _ItemMenuState extends State<ItemMenu> with ShowErrorDialog {
appBar: AppBar( appBar: AppBar(
// Here we take the value from the MyHomePage object that was created by // Here we take the value from the MyHomePage object that was created by
// the App.build method, and use it to set our appbar title. // the App.build method, and use it to set our appbar title.
title: Text("${eventName}"), title: Text("${eventName}", overflow: TextOverflow.ellipsis),
backgroundColor: Colors.blue, backgroundColor: Colors.blue,
foregroundColor: Colors.white, foregroundColor: Colors.white,
leading: IconButton( leading: IconButton(

View File

@ -92,7 +92,8 @@ class _MyHomePageState extends State<ListItemOrganizers> {
appBar: AppBar( appBar: AppBar(
// Here we take the value from the MyHomePage object that was created by // Here we take the value from the MyHomePage object that was created by
// the App.build method, and use it to set our appbar title. // the App.build method, and use it to set our appbar title.
title: Text("Organisateur : ${widget.organizer}"), title: Text("Organisateur : ${widget.organizer}",
overflow: TextOverflow.ellipsis),
backgroundColor: Colors.blue, backgroundColor: Colors.blue,
foregroundColor: Colors.white, foregroundColor: Colors.white,
), ),

View File

@ -91,7 +91,7 @@ class _MyHomePageState extends State<ListItemTags> {
appBar: AppBar( appBar: AppBar(
// Here we take the value from the MyHomePage object that was created by // Here we take the value from the MyHomePage object that was created by
// the App.build method, and use it to set our appbar title. // the App.build method, and use it to set our appbar title.
title: Text("Tags : ${widget.tags}"), title: Text("Tags : ${widget.tags}", overflow: TextOverflow.ellipsis),
backgroundColor: Colors.blue, backgroundColor: Colors.blue,
foregroundColor: Colors.white, foregroundColor: Colors.white,
), ),