fix: chevron tap
This commit is contained in:
@@ -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,
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -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),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user