Last updated:
0 purchases
moon phase
moon_phase #
Flutter plugin that creates moon widgets according to the moon's phase.
Getting Started #
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(),
),
copied to clipboard
This is the example app that shows the shape of the moon every 12 hours for 30 days.
Yes, this is cool!
Learn More #
MoonWidget(
date: DateTime.now(),
resolution: 128,
size: 64,
moonColor: Colors.amber,
earthshineColor: Colors.blueGrey.shade900,
),
copied to clipboard
date
DateTime to show.
Hours, minutes, and seconds are calculated for MoonWidget.
resolution
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.
size
Set size for the MoonWidget
moonColor
Color of light side of the moon
earthshineColor
Color of dark side.
About #
Publisher - enoosoft
Reference - (Audrius Meskauskas's MoonView)
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.