mirror of
https://github.com/darkmoonight/Rain.git
synced 2025-06-28 12:09:57 +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,
|
||||
itemBuilder: (context, index) {
|
||||
final indexedWeatherCodeDaily = weatherCodeDaily[index];
|
||||
final temperature2MMin = weatherData.temperature2MMin?[index];
|
||||
final temperature2MMax = weatherData.temperature2MMax?[index];
|
||||
final apparentTemperatureMin =
|
||||
weatherData.apparentTemperatureMin?[index];
|
||||
final apparentTemperatureMax =
|
||||
|
@ -124,8 +126,8 @@ class _InfoDailyCardState extends State<InfoDailyCard> {
|
|||
time: weatherData.time![startIndex + hourOfDay],
|
||||
timeDay: sunrise,
|
||||
timeNight: sunset,
|
||||
tempMax: apparentTemperatureMax!,
|
||||
tempMin: apparentTemperatureMin!,
|
||||
tempMax: temperature2MMax!,
|
||||
tempMin: temperature2MMin!,
|
||||
),
|
||||
Card(
|
||||
margin: const EdgeInsets.only(bottom: 15),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue