Files
finger_print_app/lib/screens/auth_screen.dart
Daniah Ayad Al-sultani 32894a5a7d auth form is finished
2025-11-29 15:19:03 +03:00

36 lines
954 B
Dart

import 'package:flutter/material.dart';
import '../widgets/app_background.dart';
import '../widgets/auth_form.dart';
class AuthScreen extends StatelessWidget {
const AuthScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
resizeToAvoidBottomInset: true,
body: AppBackground(
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(),
),
),
),
],
),
),
),
);
}
}