This commit is contained in:
zhutao
2025-08-29 11:41:00 +08:00
parent fafb6c010a
commit ec7848ad57
2 changed files with 69 additions and 72 deletions

View File

@@ -207,10 +207,7 @@ class _LoginPageState extends State<LoginPage> {
child: Scaffold(
resizeToAvoidBottomInset: false,
body: SafeArea(
child: Stack(
alignment: Alignment.center,
children: [
Container(
child: Container(
width: double.infinity,
padding: EdgeInsets.only(
top: 0.07.sh,
@@ -269,11 +266,9 @@ class _LoginPageState extends State<LoginPage> {
_handAppleSignIn();
},
),
],
),
),
Positioned(
bottom: 20,
Container(
margin: EdgeInsets.only(top: 20),
width: double.infinity,
child: AgreementBox(
checked: _agree,
onChanged: (value) {
@@ -288,6 +283,7 @@ class _LoginPageState extends State<LoginPage> {
),
),
),
),
);
}
}

View File

@@ -17,6 +17,7 @@ class AgreementBox extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
SizedBox(
width: 25,