aboutsummaryrefslogtreecommitdiff
path: root/lib/screens/home.dart
blob: 474fc486ef92310831ca1d64d8cc65868e9f56e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import 'package:flutter/material.dart';
import "login.dart";

class HomeScreen extends StatelessWidget {
	const HomeScreen({super.key});

	@override
	Widget build(BuildContext context) {
		return Scaffold(
			appBar: AppBar(
				title: const Text("Home Page")
			),
			body: Center(
				child: ElevatedButton(
					child: const Text("Log In"),
					onPressed: () {
						Navigator.push(
							context,
							MaterialPageRoute(builder: (context) => const LoginScreen())
						);
					},
				),
			),
		);
	}
}