> moon_phase_plus_

moon_phase_plus

Flutter plugin that creates moon widgets according to the moon's phase.

v1.0.1 MIT #Moon#Phase#Widget#Astronomy#UI
12
LIKES
0
DOWNLOADS
88%
HEALTH
140/160
POINTS
> Overview_

Overview

Flutter plugin that creates moon widgets according to the moon's phase.

Beautiful moon phase widgets for Flutter.. صُممت لتكون سهلة الاستخدام مع واجهة API بسيطة وواضحة، ومُحسّنة للأداء العالي.

> Platforms_

Platforms

iOSAndroidWebmacOSWindowsLinux
> Features_

Features

Creates moon widgets showing the exact moon phase for any date
Calculates moon phase based on DateTime (hours, minutes, seconds)
Customizable resolution, size, moon color, and earthshine color
Lightweight with minimal performance impact
Continuation of the discontinued moon_phase plugin with bug fixes
> Installation_

Installation

$ flutter pub add moon_phase_plus

dependencies:
  moon_phase_plus: ^1.0.1
> Quick Start_

Quick Start

MoonWidget(
  date: DateTime.now(),
)
> Usage_

Usage

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

Parameters

// date: DateTime to show (hours/minutes/seconds are calculated)
// resolution: Moon radius — larger = heavier math
//   Use small numbers for icons/markers
// size: Widget size
// moonColor: Color of light side
// earthshineColor: Color of dark side