auth form is finished

This commit is contained in:
Daniah Ayad Al-sultani
2025-11-29 15:19:03 +03:00
parent b50c2b578b
commit 32894a5a7d
5 changed files with 207 additions and 146 deletions

View File

@@ -1,7 +1,6 @@
import 'package:flutter/material.dart';
import '../widgets/app_background.dart';
import '../widgets/auth_form.dart';
import '../widgets/onboarding_button.dart';
class AuthScreen extends StatelessWidget {
const AuthScreen({super.key});
@@ -9,18 +8,29 @@ class AuthScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
resizeToAvoidBottomInset: true,
body: AppBackground(
child: Center(
child: Text(
"Auth Screen",
style: TextStyle(
color: Colors.white,
fontSize: 26,
fontWeight: FontWeight.bold,
),
child: SafeArea(
child: Column(
children: [
const SizedBox(height: 60),
// Logo
Center(
child: Image.asset("assets/images/logo2.png", width: 200),
),
// const SizedBox(height: 15),
// Form - taking remaining space and centered
Expanded(
child: Center(
child: SingleChildScrollView(
child: const AuthForm(),
),
),
),
],
),
),
),
);
}
}
}