A Flutter package to get zodiac from date
- 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
Example:
String zodiac = Zodiac().getZodiac('2000-01-01');
String zodiac2 = Zodiac().getZodiac('2000-08-17 00:00:00');
print(zodiac); // Capricorn
print(zodiac2); // Leo
This is an open source package, feel free to contribute