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,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),
],
],
),
),