-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.dart
85 lines (72 loc) · 2.55 KB
/
menu.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'newPlan.dart';
class menu extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("menu"),
),
backgroundColor: Colors.blueGrey,
body: Container(
constraints: BoxConstraints.expand(),
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage("images/pexels-photo-799443.jpeg"),
fit: BoxFit.cover,
)),
child: new Column(children: [
SizedBox(height: 300),
new Container(
alignment: Alignment(0, 0),
// ignore: deprecated_member_use
child: RaisedButton.icon(
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => newPlan()),
);},
label: Text('Make New Plan',
style: TextStyle(
fontSize: 30,)
),
color: Colors.teal,
icon: Icon(Icons.airport_shuttle_sharp, size: 30,)
),
),
SizedBox(height: 20),
new Container(
alignment: Alignment(0, 0),
// ignore: deprecated_member_use
child: RaisedButton.icon(
onPressed: () {},
label: Text('View All Plans ',
style: TextStyle(
fontSize: 30,)
),
color: Colors.teal,
icon: Icon(Icons.apps, size: 30,)
),
),
SizedBox(height: 20),
new Container(
alignment: Alignment(0, 0),
// ignore: deprecated_member_use
child: RaisedButton.icon(
onPressed: () {},
label: Text('Exit ',
style: TextStyle(
fontSize: 30,)
),
color: Colors.teal,
icon: Icon(Icons.arrow_back_rounded, size: 30,)
),
)
]
)
)
);
}
}