fix: popup area
This commit is contained in:
@@ -297,20 +297,7 @@ class _CreateGameViewState extends State<CreateGameView> {
|
|||||||
// Choose color tile
|
// Choose color tile
|
||||||
ChooseTile(
|
ChooseTile(
|
||||||
title: loc.color,
|
title: loc.color,
|
||||||
trailing: Row(
|
trailing:
|
||||||
spacing: 8,
|
|
||||||
children: [
|
|
||||||
// Selected Color
|
|
||||||
Container(
|
|
||||||
width: 16,
|
|
||||||
height: 16,
|
|
||||||
margin: const EdgeInsets.only(left: 12),
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
color: getColorFromGameColor(selectedColor!),
|
|
||||||
shape: BoxShape.circle,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
|
|
||||||
//Popup
|
//Popup
|
||||||
CustomPopup(
|
CustomPopup(
|
||||||
showArrow: true,
|
showArrow: true,
|
||||||
@@ -399,12 +386,25 @@ class _CreateGameViewState extends State<CreateGameView> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
child: Text(
|
child: Row(
|
||||||
translateGameColorToString(selectedColor!, context),
|
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
|
// Description input field
|
||||||
|
|||||||
Reference in New Issue
Block a user