fix(auth): 放大登录注册分段的可点击区域
This commit is contained in:
1 parent
e269d5dce5
commit
4de9417e27
1 file changed
+4
@@ -259,6 +259,9 @@ class _ModeTab extends StatelessWidget {
|
||||
key: segmentKey,
|
||||
behavior: HitTestBehavior.opaque,
|
||||
onTap: onTap,
|
||||
// 文字 + 指示条只有约 32px 高,补上下各 6px 把可点区域撑到 44。
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 6),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
@@ -284,6 +287,7 @@ class _ModeTab extends StatelessWidget {
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user