GameHistoryView anpassen #20
@@ -103,13 +103,16 @@ class _GameHistoryTileState extends State<GameHistoryTile> {
|
||||
color: Colors.amber,
|
||||
),
|
||||
|
gelbeinhalb marked this conversation as resolved
Outdated
|
||||
const SizedBox(width: 8),
|
||||
Text(
|
||||
Expanded(
|
||||
child: Text(
|
||||
'Winner: ${winner.name}',
|
||||
style: const TextStyle(
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: Colors.white,
|
||||
),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user
Entweder die beiden Group Widgets in ein
VisibilitybzwOffstageWidget wrappen, oder in ein If-Statement zusammenführen:Von Docs: "Offstage can be used to measure the dimensions of a widget without bringing it on screen (yet). To hide a widget from view while it is not needed, prefer removing the widget from the tree entirely rather than keeping it alive in an Offstage subtree" also eher das if
Ja dann mach das lieber mit If