fix: chevron tap
This commit is contained in:
@@ -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<CreateGameView> {
|
||||
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<CreateGameView> {
|
||||
Text(
|
||||
translateGameColorToString(selectedColor!, context),
|
||||
),
|
||||
const SizedBox(width: 5),
|
||||
Transform.rotate(
|
||||
angle: pi / 2,
|
||||
child: const Icon(
|
||||
Icons.arrow_forward_ios,
|
||||
size: 16,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -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<ChooseTile> {
|
||||
),
|
||||
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),
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user