-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathHellweg.dart
45 lines (42 loc) · 1.27 KB
/
Hellweg.dart
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import 'package:flutter/material.dart';
import 'package:group3a3/main.dart';
class Hellweg extends StatefulWidget {
const Hellweg({Key? key}) : super(key: key);
@override
_Hellweg createState() => _Hellweg();
}
class _Hellweg extends State<Hellweg> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
backgroundColor: Colors.pink,
title: Text("Zachary's Page"),
),
body: Column(
children: <Widget>[
Center(
child: Container(
padding: EdgeInsets.fromLTRB(10, 10, 10, 10),
child: Text(
"My birthday is the day Ceazer died, and the day Einstein was born.",
style: TextStyle(fontSize: 30),
textAlign: TextAlign.center),
)),
ElevatedButton(
onPressed: () {
Navigator.push(
context, MaterialPageRoute(builder: (context) => MyApp()));
},
child: Text("GOTO Main"),
style: ElevatedButton.styleFrom(
primary: Colors.orange,
),
),
],
),
),
);
}
}