mirror of
https://github.com/darkmoonight/Rain.git
synced 2025-06-28 20:19:58 +00:00
Fix redesign
This commit is contained in:
parent
6646f657d2
commit
0d565752d5
1 changed files with 4 additions and 2 deletions
|
@ -92,6 +92,8 @@ class _InfoDailyCardState extends State<InfoDailyCard> {
|
||||||
itemCount: timeDaily.length,
|
itemCount: timeDaily.length,
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
final indexedWeatherCodeDaily = weatherCodeDaily[index];
|
final indexedWeatherCodeDaily = weatherCodeDaily[index];
|
||||||
|
final temperature2MMin = weatherData.temperature2MMin?[index];
|
||||||
|
final temperature2MMax = weatherData.temperature2MMax?[index];
|
||||||
final apparentTemperatureMin =
|
final apparentTemperatureMin =
|
||||||
weatherData.apparentTemperatureMin?[index];
|
weatherData.apparentTemperatureMin?[index];
|
||||||
final apparentTemperatureMax =
|
final apparentTemperatureMax =
|
||||||
|
@ -124,8 +126,8 @@ class _InfoDailyCardState extends State<InfoDailyCard> {
|
||||||
time: weatherData.time![startIndex + hourOfDay],
|
time: weatherData.time![startIndex + hourOfDay],
|
||||||
timeDay: sunrise,
|
timeDay: sunrise,
|
||||||
timeNight: sunset,
|
timeNight: sunset,
|
||||||
tempMax: apparentTemperatureMax!,
|
tempMax: temperature2MMax!,
|
||||||
tempMin: apparentTemperatureMin!,
|
tempMin: temperature2MMin!,
|
||||||
),
|
),
|
||||||
Card(
|
Card(
|
||||||
margin: const EdgeInsets.only(bottom: 15),
|
margin: const EdgeInsets.only(bottom: 15),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue