feat(sun-position): add proportional arc visualization with 10-min updates
Build and Push / release (push) Successful in 3s
Build and Push / build (push) Successful in 3m12s

- Arc angle now proportional to day/night duration (day = daylight/24 × 360°)
- Horizon points represent sunrise/sunset times
- Day arc with sun icon and yellow/orange gradient
- Night arc with moon icon and blue/indigo gradient
- Position updates every 10 minutes aligned to clock (0/10/20/30/40/50)
- Default to 07:00-17:00 when API data unavailable (asymmetric for visual effect)
- All environment cards maintain consistent height in "no data" state

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Jeroen Schweitzer
2026-01-07 12:06:17 +01:00
co-authored by Claude Opus 4.5
parent d200cad8be
commit 9b2878f6e3
6 changed files with 361 additions and 189 deletions
+4 -2
View File
@@ -212,9 +212,11 @@ class WeatherWidget extends StatelessWidget {
),
],
),
const SizedBox(height: 24),
// Match height of populated card content area
const SizedBox(height: 120),
Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Icon(
Icons.cloud_off_outlined,
@@ -231,7 +233,7 @@ class WeatherWidget extends StatelessWidget {
],
),
),
const SizedBox(height: 16),
const SizedBox(height: 40),
],
),
),