Implementierung der Games #203
@@ -288,13 +288,16 @@ class _CreateGameViewState extends State<CreateGameView> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
|
spacing: 8,
|
||||||
children: [
|
children: [
|
||||||
Icon(getRulesetIcon(selectedRuleset!), size: 16),
|
Icon(getRulesetIcon(selectedRuleset!), size: 16),
|
||||||
const SizedBox(width: 5),
|
Padding(
|
||||||
Text(
|
padding: const EdgeInsets.only(right: 5),
|
||||||
translateRulesetToString(selectedRuleset!, context),
|
child: Text(
|
||||||
|
translateRulesetToString(selectedRuleset!, context),
|
||||||
|
textAlign: TextAlign.right,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 5),
|
|
||||||
Transform.rotate(
|
Transform.rotate(
|
||||||
angle: pi / 2,
|
angle: pi / 2,
|
||||||
child: const Icon(Icons.arrow_forward_ios, size: 16),
|
child: const Icon(Icons.arrow_forward_ios, size: 16),
|
||||||
@@ -403,16 +406,20 @@ class _CreateGameViewState extends State<CreateGameView> {
|
|||||||
Container(
|
Container(
|
||||||
width: 16,
|
width: 16,
|
||||||
height: 16,
|
height: 16,
|
||||||
margin: const EdgeInsets.only(left: 12),
|
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: getColorFromGameColor(selectedColor!),
|
color: getColorFromGameColor(selectedColor!),
|
||||||
shape: BoxShape.circle,
|
shape: BoxShape.circle,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Padding(
|
||||||
translateGameColorToString(selectedColor!, context),
|
padding: const EdgeInsets.only(right: 5),
|
||||||
|
child: Text(
|
||||||
|
translateGameColorToString(
|
||||||
|
selectedColor!,
|
||||||
|
context,
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 5),
|
|
||||||
Transform.rotate(
|
Transform.rotate(
|
||||||
angle: pi / 2,
|
angle: pi / 2,
|
||||||
child: const Icon(
|
child: const Icon(
|
||||||
|
|||||||
Reference in New Issue
Block a user