fix: popup area

This commit is contained in:
2026-05-08 19:33:22 +02:00
parent 726630027e
commit 4520281cb6

View File

@@ -297,20 +297,7 @@ class _CreateGameViewState extends State<CreateGameView> {
// Choose color tile
ChooseTile(
title: loc.color,
trailing: Row(
spacing: 8,
children: [
// Selected Color
Container(
width: 16,
height: 16,
margin: const EdgeInsets.only(left: 12),
decoration: BoxDecoration(
color: getColorFromGameColor(selectedColor!),
shape: BoxShape.circle,
),
),
trailing:
//Popup
CustomPopup(
showArrow: true,
@@ -399,13 +386,26 @@ class _CreateGameViewState extends State<CreateGameView> {
),
),
),
child: Text(
child: Row(
spacing: 8,
children: [
// Selected Color
Container(
width: 16,
height: 16,
margin: const EdgeInsets.only(left: 12),
decoration: BoxDecoration(
color: getColorFromGameColor(selectedColor!),
shape: BoxShape.circle,
),
),
Text(
translateGameColorToString(selectedColor!, context),
),
),
],
),
),
),
// Description input field
Container(