From 63c1cc6d565d8aa74cf0963a3b84d93add7ccdb0 Mon Sep 17 00:00:00 2001 From: orz12 Date: Sun, 18 Aug 2024 17:11:03 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E7=A7=BB=E9=99=A4padding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/member/widgets/profile.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/pages/member/widgets/profile.dart b/lib/pages/member/widgets/profile.dart index 57a12c32..c56601cf 100644 --- a/lib/pages/member/widgets/profile.dart +++ b/lib/pages/member/widgets/profile.dart @@ -234,24 +234,22 @@ class ProfilePanel extends StatelessWidget { }); }, style: TextButton.styleFrom( - padding: const EdgeInsets.only(left: 80, right: 80), foregroundColor: Theme.of(context).colorScheme.onPrimary, backgroundColor: Theme.of(context).colorScheme.primary, ), - child: const Text('个人中心(web)'), + child: const Text(' 个人中心(web) '), ) ], if (ctr.ownerMid == -1) ...[ TextButton( onPressed: () {}, style: TextButton.styleFrom( - padding: const EdgeInsets.only(left: 80, right: 80), foregroundColor: Theme.of(context).colorScheme.outline, backgroundColor: Theme.of(context).colorScheme.onInverseSurface, ), - child: const Text('未登录'), + child: const Text(' 未登录 '), ) ] ],