-
Notifications
You must be signed in to change notification settings - Fork 46
/
homepage.dart
105 lines (101 loc) · 3.07 KB
/
homepage.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
import 'package:flutter/material.dart';
class HomePage extends StatefulWidget {
const HomePage({Key? key}) : super(key: key);
@override
State<HomePage> createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: SafeArea(
child: Padding(
padding: const EdgeInsets.all(25.0),
child: Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Icon(
Icons.more_vert_rounded,
color: Colors.black54,
size: 25,
),
Row(
children: [
Icon(
Icons.location_on,
color: Colors.black54,
size: 25,
),
SizedBox(
width: 10,
),
Text(
"Location",
style: TextStyle(
color: Colors.black54,
fontWeight: FontWeight.bold,
fontSize: 17),
)
],
),
Icon(
Icons.add,
color: Colors.black54,
size: 25,
),
],
),
SizedBox(height: 10,),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
"Monday, 10 Aug 2022",
style: TextStyle(
color: Colors.black54,
fontSize: 17),
)
],
),
SizedBox(height: 30,),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Stack(
children: [
Text(
"22°",
style: TextStyle(
color: Colors.black54,
fontWeight: FontWeight.bold,
fontSize: MediaQuery.of(context).size.width/2.5),
),
Image(
image: AssetImage("images/sunny.png"),
),
],
),
],
),
Padding(
padding: const EdgeInsets.only(left: 35.0),
child: Row(
children: [
Text(
"cloudy",
style: TextStyle(
color: Colors.black54,
fontSize: 25),
),
],
),
)
],
),
),
),
);
}
}