A Flutter package to use the calender.
- 🚀 Cross platform: mobile, desktop, browser.
- ❤️ Simple.
- 🎈 NO native dependencies.
You can fetch calender (Years, Months, Days) between tow given years (start, end).
List<Year> calender = CalenderController().getFullCalender(startYear, endYear);
Year : Year(this.id, this.value, this.months, this.isSelected, this.isCurrentYear, {this.data})
id
: unique int number.value
: int year value(1997, 2015, 2023 ... etc).months
:List<Month>
isSelected
: bool value that changed if user press on this yeartrue|false
.isCurrentYear
: bool value ifyyyy
equalvalue
.data
: dynamic variable to add any type of data in Year.
Month: Month(this.id, this.name, this.value, this.days, this.isSelected, this.isCurrentMonth, {this.data});
id
: unique int number.name
: month name (January, February, March ... etc);value
: int month value(1, 2, 3 ... 12).days
:List<Day>
isSelected
: bool value that changed if user press on this monthtrue|false
.isCurrentMonth
: bool value ifyyyy/MM
equalvalue
.data
: dynamic variable to add any type of data in Month.
Day: Day(this.id, this.name, this.value, this.isSelected, this.isToday, {this.data});
id
: unique int number.name
: weekday name (Saturday, Sunday ...etc).value
: monthDay (1, 2, 3, 4, 5, ... 31)isSelected
: bool value that changed if you press on this daytrue|false
.isToday
: bool value ifyyyy/mm/dd
date equaltoday
.data
: dynamic variable to add any type of data in Day.