This commit is contained in:
2026-04-08 02:42:59 +08:00
parent c259fb4504
commit 5d753d3fa4
4 changed files with 128 additions and 173 deletions

View File

@@ -298,27 +298,30 @@ class _TransferPageState extends State<TransferPage> {
),
],
),
// 交换按钮 - 右侧贴分割线
// 交换按钮 - 右側居中分割
Positioned(
right: 12,
top: 20,
child: GestureDetector(
onTap: _toggleDirection,
child: Container(
width: 28,
height: 28,
decoration: BoxDecoration(
color: colorScheme.surface,
shape: BoxShape.circle,
border: Border.all(
color: colorScheme.outlineVariant,
width: 1,
bottom: 20,
child: Center(
child: GestureDetector(
onTap: _toggleDirection,
child: Container(
width: 28,
height: 28,
decoration: BoxDecoration(
color: colorScheme.surface,
shape: BoxShape.circle,
border: Border.all(
color: colorScheme.outlineVariant,
width: 1,
),
),
child: Icon(
LucideIcons.repeat2,
size: 13,
color: colorScheme.onSurfaceVariant,
),
),
child: Icon(
LucideIcons.arrowUpDown,
size: 14,
color: colorScheme.onSurfaceVariant,
),
),
),