Horoscope

Hi! With the help of this plugin you can easily get Daily, Weekly, Monthly and Yearly Horoscope.

Check out Example for more details

Get Daily Horoscope

Horoscope.getWeeklyHoroscope(ZodiacSigns.TAURUS)
.then((val) {
if (val != null) {
setState(() {
time = val.week;
horoscope = val.horoscope;
sunsign = val.sunsign;
});

Get Weekly Horoscope

Horoscope.getWeeklyHoroscope(ZodiacSigns.TAURUS)
.then((val) {
if (val != null) {
setState(() {
time = val.week;
horoscope = val.horoscope;
sunsign = val.sunsign;
});
}

Get Monthly Horoscope

Horoscope.getWeeklyHoroscope(ZodiacSigns.TAURUS)
.then((val) {
if (val != null) {
setState(() {
time = val.month;
horoscope = val.horoscope;
sunsign = val.sunsign;
});
}

Get Yearly Horoscope

Horoscope.getWeeklyHoroscope(ZodiacSigns.TAURUS)
.then((val) {
if (val != null) {
setState(() {
time = val.year.toString();
horoscope = val.horoscope;
sunsign = val.sunsign;
});
}

NOTE : This plugin uses http package. So you dont need to include one.

Libraries

Horopscope
HoroscopeDetails
ZodiacSigns
horoscope_flutter