phaseLabels property
Translated phase name strings keyed by MoonPhaseName. Falls back to built-in English labels for any missing key. Pass your own i18n strings here:
phaseLabels: {
MoonPhaseName.newMoon: AppLocalizations.of(context)!.newMoon,
MoonPhaseName.fullMoon: AppLocalizations.of(context)!.fullMoon,
// …
}
Implementation
final Map<MoonPhaseName, String>? phaseLabels;