@@ -23,8 +23,9 @@ class _HomePageState extends State<HomePage> {
23
23
Container (
24
24
decoration: BoxDecoration (
25
25
image: DecorationImage (
26
- image: AssetImage ('assets/images/background.jpg' ),
27
- fit: BoxFit .cover
26
+ image: AssetImage ('assets/images/background3.jpg' ),
27
+ fit: BoxFit .cover,
28
+ alignment: Alignment .bottomCenter
28
29
)
29
30
),
30
31
child: Container (
@@ -43,7 +44,7 @@ class _HomePageState extends State<HomePage> {
43
44
mainAxisAlignment: MainAxisAlignment .end,
44
45
children: < Widget > [
45
46
Container (
46
- height: 250 ,
47
+ height: 230 ,
47
48
child: ListView (
48
49
scrollDirection: Axis .horizontal,
49
50
children: < Widget > [
@@ -72,14 +73,16 @@ class _HomePageState extends State<HomePage> {
72
73
top: top,
73
74
left: left,
74
75
child: AvatarGlow (
75
- endRadius: 50 ,
76
+ endRadius: 40 ,
77
+ curve: Curves .linear,
76
78
animate: true ,
77
- glowColor: Colors .yellow,
79
+ repeatPauseDuration: Duration (milliseconds: 500 ),
80
+ glowColor: Colors .green.shade300,
78
81
child: Container (
79
- width: 20 ,
82
+ width: 16 ,
80
83
decoration: BoxDecoration (
81
84
shape: BoxShape .circle,
82
- color: Colors .yellow
85
+ color: Colors .green.shade700
83
86
),
84
87
)
85
88
)
@@ -110,19 +113,20 @@ class _HomePageState extends State<HomePage> {
110
113
111
114
Widget makeItem ({image}) {
112
115
return AspectRatio (
113
- aspectRatio: 1.7 / 2 ,
116
+ aspectRatio: 1.9 / 2 ,
114
117
child: Container (
115
118
margin: EdgeInsets .only (right: 20 ),
116
- padding: EdgeInsets .all (20 ),
119
+ padding: EdgeInsets .all (10 ),
117
120
decoration: BoxDecoration (
118
121
borderRadius: BorderRadius .circular (20 ),
119
- color: Colors .white
122
+ color: Colors .grey.shade900
120
123
),
121
124
child: Column (
122
125
crossAxisAlignment: CrossAxisAlignment .start,
123
126
children: < Widget > [
124
127
Row (
125
128
mainAxisAlignment: MainAxisAlignment .spaceBetween,
129
+ crossAxisAlignment: CrossAxisAlignment .start,
126
130
children: < Widget > [
127
131
Container (
128
132
width: 60 ,
@@ -139,14 +143,14 @@ class _HomePageState extends State<HomePage> {
139
143
padding: EdgeInsets .symmetric (horizontal: 15.0 , vertical: 8.0 ),
140
144
decoration: BoxDecoration (
141
145
borderRadius: BorderRadius .circular (50 ),
142
- color: Colors .grey[ 200 ]
146
+ color: Colors .black26
143
147
),
144
148
child: Text ('2.1 mi' , style: TextStyle (color: Colors .grey[500 ]),)
145
149
)
146
150
],
147
151
),
148
152
SizedBox (height: 30 ,),
149
- Text ('Golde Gate Bridge' , style: TextStyle (color: Colors .grey[ 800 ] , fontSize: 25 , fontWeight: FontWeight .bold),),
153
+ Text ('Golden Gate Bridge' , style: TextStyle (color: Colors .white , fontSize: 24 , fontWeight: FontWeight .bold),),
150
154
SizedBox (height: 10 ,),
151
155
Align (
152
156
alignment: Alignment .bottomRight,
0 commit comments