更新退出按钮UI

hmxc
小赖 4 years ago
parent 4398886847
commit cc262b2d53

@ -61,12 +61,20 @@ class _SettingsPageState extends State<SettingsPage> {
? Padding( ? Padding(
padding: EdgeInsets.symmetric(horizontal: 64.w), padding: EdgeInsets.symmetric(horizontal: 64.w),
child: AkuMaterialButton( child: AkuMaterialButton(
radius: 8.w,
color: AppStyle.primaryColor, color: AppStyle.primaryColor,
onPressed: () { onPressed: () {
userProvider.setisSigned(false); userProvider.setisSigned(false);
Get.offAll(HomePage()); Get.offAll(HomePage());
}, },
child: Text('退出登录'), child: Text(
'退出登录',
style: TextStyle(
color: AppStyle.primaryTextColor,
fontWeight: FontWeight.bold,
fontSize: 32.w,
),
),
), ),
) )
: SizedBox(), : SizedBox(),

Loading…
Cancel
Save