Learn More

  MoonWidget(
    date: DateTime.now(),
    resolution: 128,
    size: 64,
    moonColor: Colors.amber,
    earthshineColor: Colors.blueGrey.shade900,
  ),

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.