Flutter plugin that creates moon widgets according to the moon's phase.
Just add the
MoonWidget and put in every single
DateTime you want see. Then, the phase of the moon will be displayed.
MoonWidget( date: DateTime.now(), ),
This is the example app that shows the shape of the moon every 12 hours for 30 days.
Yes, this is cool!
MoonWidget( date: DateTime.now(), resolution: 128, size: 64, moonColor: Colors.amber, earthshineColor: Colors.blueGrey.shade900, ),
- DateTime to show.
Hours, minutes, and seconds are calculated for MoonWidget.
- Resolution will be the moon radius.
Large resolution needs more math operation makes widget heavy.
Enter a small number if it is sufficient to mark it small,
such as an icon or marker.
- Set size for the MoonWidget
- Color of light side of the moon
- Color of dark side.