28 lines
648 B
Dart
28 lines
648 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import '../widgets/login_form.dart';
|
|
|
|
class LoginScreen extends StatelessWidget {
|
|
const LoginScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
body: Center(
|
|
child: SingleChildScrollView(
|
|
padding: const EdgeInsets.all(24),
|
|
child: ConstrainedBox(
|
|
constraints: const BoxConstraints(maxWidth: 400),
|
|
child: const Card(
|
|
child: Padding(
|
|
padding: EdgeInsets.all(32),
|
|
child: LoginForm(),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|