@@ -54,8 +54,7 @@ class WeatherWidget extends StatelessWidget {
5454 color: AppStateContainer .of (context).theme.accentColor),
5555 ),
5656 Row (mainAxisAlignment: MainAxisAlignment .center, children: < Widget > [
57- ValueTile (
58- "max" , '${this .weather .maxTemperature .celsius .round ()}°' ),
57+ ValueTile ("max" , '${this .weather .maxTemperature .celsius .round ()}°' ),
5958 Padding (
6059 padding: const EdgeInsets .only (left: 20 , right: 20 ),
6160 child: Center (
@@ -68,34 +67,41 @@ class WeatherWidget extends StatelessWidget {
6867 .withAlpha (50 ),
6968 )),
7069 ),
71- ValueTile (
72- "min" , '${this .weather .minTemperature .celsius .round ()}°' ),
70+ ValueTile ("min" , '${this .weather .minTemperature .celsius .round ()}°' ),
7371 ]),
7472 Padding (
7573 child: Divider (
76- color: AppStateContainer .of (context)
77- .theme
78- .accentColor
79- .withAlpha (50 ),
74+ color:
75+ AppStateContainer .of (context).theme.accentColor.withAlpha (50 ),
8076 ),
8177 padding: EdgeInsets .all (10 ),
8278 ),
8379 ForecastHorizontal (weathers: weather.forecast),
8480 Padding (
8581 child: Divider (
86- color: AppStateContainer .of (context)
87- .theme
88- .accentColor
89- .withAlpha (50 ),
82+ color:
83+ AppStateContainer .of (context).theme.accentColor.withAlpha (50 ),
9084 ),
9185 padding: EdgeInsets .all (10 ),
9286 ),
9387 Row (mainAxisAlignment: MainAxisAlignment .center, children: < Widget > [
88+ ValueTile ("wind speed" , '${this .weather .windSpeed } m/s' ),
89+ Padding (
90+ padding: const EdgeInsets .only (left: 20 , right: 20 ),
91+ child: Center (
92+ child: Container (
93+ width: 1 ,
94+ height: 30 ,
95+ color: AppStateContainer .of (context)
96+ .theme
97+ .accentColor
98+ .withAlpha (50 ),
99+ )),
100+ ),
94101 ValueTile (
95102 "sunrise" ,
96- DateFormat ('h:m a' ).format (
97- DateTime .fromMillisecondsSinceEpoch (
98- this .weather.sunrise * 1000 ))),
103+ DateFormat ('h:m a' ).format (DateTime .fromMillisecondsSinceEpoch (
104+ this .weather.sunrise * 1000 ))),
99105 Padding (
100106 padding: const EdgeInsets .only (left: 20 , right: 20 ),
101107 child: Center (
@@ -110,9 +116,21 @@ class WeatherWidget extends StatelessWidget {
110116 ),
111117 ValueTile (
112118 "sunset" ,
113- DateFormat ('h:m a' ).format (
114- DateTime .fromMillisecondsSinceEpoch (
115- this .weather.sunset * 1000 ))),
119+ DateFormat ('h:m a' ).format (DateTime .fromMillisecondsSinceEpoch (
120+ this .weather.sunset * 1000 ))),
121+ Padding (
122+ padding: const EdgeInsets .only (left: 20 , right: 20 ),
123+ child: Center (
124+ child: Container (
125+ width: 1 ,
126+ height: 30 ,
127+ color: AppStateContainer .of (context)
128+ .theme
129+ .accentColor
130+ .withAlpha (50 ),
131+ )),
132+ ),
133+ ValueTile ("humidity" , '${this .weather .humidity }%' ),
116134 ]),
117135 ],
118136 ),
0 commit comments