fix: chevron tap
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 48s
Pull Request Pipeline / lint (pull_request) Successful in 50s

This commit is contained in:
2026-05-09 13:27:24 +02:00
parent 003a5122fa
commit fd553e1d24
2 changed files with 19 additions and 9 deletions

View File

@@ -1,3 +1,5 @@
import 'dart:math';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_popup/flutter_popup.dart'; import 'package:flutter_popup/flutter_popup.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
@@ -292,6 +294,11 @@ class _CreateGameViewState extends State<CreateGameView> {
Text( Text(
translateRulesetToString(selectedRuleset!, context), translateRulesetToString(selectedRuleset!, context),
), ),
const SizedBox(width: 5),
Transform.rotate(
angle: pi / 2,
child: const Icon(Icons.arrow_forward_ios, size: 16),
),
], ],
), ),
), ),
@@ -405,6 +412,14 @@ class _CreateGameViewState extends State<CreateGameView> {
Text( Text(
translateGameColorToString(selectedColor!, context), translateGameColorToString(selectedColor!, context),
), ),
const SizedBox(width: 5),
Transform.rotate(
angle: pi / 2,
child: const Icon(
Icons.arrow_forward_ios,
size: 16,
),
),
], ],
), ),
), ),

View File

@@ -1,5 +1,3 @@
import 'dart:math';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:tallee/core/custom_theme.dart'; import 'package:tallee/core/custom_theme.dart';
@@ -45,13 +43,10 @@ class _ChooseTileState extends State<ChooseTile> {
), ),
const Spacer(), const Spacer(),
if (widget.trailing != null) widget.trailing!, if (widget.trailing != null) widget.trailing!,
const SizedBox(width: 10), if (widget.onPressed != null) ...[
widget.onPressed == null const SizedBox(width: 10),
? Transform.rotate( const Icon(Icons.arrow_forward_ios, size: 16),
angle: pi / 2, ],
child: const Icon(Icons.arrow_forward_ios, size: 16),
)
: const Icon(Icons.arrow_forward_ios, size: 16),
], ],
), ),
), ),