horoscope 1.0.1
horoscope: ^1.0.1 copied to clipboard

Horoscope package to get Daily, Weekly, Monthly and Yearly Horoscope.

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.

3
likes
90
pub points
43%
popularity

Horoscope package to get Daily, Weekly, Monthly and Yearly Horoscope.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

er.sumitgohil@gmail.com

License

LICENSE

Dependencies

flutter, http

More

Packages that depend on horoscope