A Flutter package to get zodiac from date

Features

  • returning zodiac as a String
  • for now, function argument only support :
    • YYYY-MM-dd (ISO 8601) string format
    • YYYY-MM-DD hh:mm:ss string format

Usage

Example:

const zodiac = Zodiac().getZodiac('2000-01-01');

const zodiac2 = Zodiac().getZodiac('2000-08-17 00:00:00');

print(zodiac); // Capricorn
print(zodiac2); // Leo

Additional information

This is an open source package, feel free to contribute

Libraries

zodiac