diff --git a/lib/presentation/views/main_menu/match_view/create_match/create_game_view.dart b/lib/presentation/views/main_menu/match_view/create_match/create_game_view.dart index f20817a..274c960 100644 --- a/lib/presentation/views/main_menu/match_view/create_match/create_game_view.dart +++ b/lib/presentation/views/main_menu/match_view/create_match/create_game_view.dart @@ -1,3 +1,5 @@ +import 'dart:math'; + import 'package:flutter/material.dart'; import 'package:flutter_popup/flutter_popup.dart'; import 'package:provider/provider.dart'; @@ -292,6 +294,11 @@ class _CreateGameViewState extends State { Text( 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 { Text( translateGameColorToString(selectedColor!, context), ), + const SizedBox(width: 5), + Transform.rotate( + angle: pi / 2, + child: const Icon( + Icons.arrow_forward_ios, + size: 16, + ), + ), ], ), ), diff --git a/lib/presentation/widgets/tiles/choose_tile.dart b/lib/presentation/widgets/tiles/choose_tile.dart index 1f72328..41cc7f0 100644 --- a/lib/presentation/widgets/tiles/choose_tile.dart +++ b/lib/presentation/widgets/tiles/choose_tile.dart @@ -1,5 +1,3 @@ -import 'dart:math'; - import 'package:flutter/material.dart'; import 'package:tallee/core/custom_theme.dart'; @@ -45,13 +43,10 @@ class _ChooseTileState extends State { ), const Spacer(), if (widget.trailing != null) widget.trailing!, - const SizedBox(width: 10), - widget.onPressed == null - ? Transform.rotate( - angle: pi / 2, - child: const Icon(Icons.arrow_forward_ios, size: 16), - ) - : const Icon(Icons.arrow_forward_ios, size: 16), + if (widget.onPressed != null) ...[ + const SizedBox(width: 10), + const Icon(Icons.arrow_forward_ios, size: 16), + ], ], ), ),