Skip to content

alainux/sun_clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sun Clock

Flutter solar clock for Flutter Clock Face Challenge

Displays the solar time and hour angle (and local time), and displays the sun position based on the user's longitude. It has a light theme and a dark theme, and displays sample weather and location data that comes from the device.

Screenshot

image image

Components

Analog clock image Shows the analog local time. In this case, 08:44:01 AM.

Solar time image Shows the LST (Local solar time). Shown with a yellow handle. In this case, 06:47:10 AM

Solar position image Shows the position of the sun according to its HA (Hour Angle). Shown with a small orange circle. In this case, -77º (0 is noon)

Sunrise time image Time of sunrise in local area. Shown with a blue hand. In this case, 7:03:00 AM

Sunset time image Time of sunset in local area. Shown with an orange handle. In this case, 8:55:00 PM

*Solar noon image Time of solar noon (sun highest in the sky) for local area. In this case, 1:58:00 PM

Important

Uses the user's location so permissions need to be handled. Follow the geolocator plugin instructions to add them.

About

Sun clock submission for Flutter Clock Face challenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages