CalendarConfiguration class

配置信息类

Constructors

CalendarConfiguration({CalendarSelectedMode selectMode, int minYear, int maxYear, int minYearMonth, int maxYearMonth, int nowYear, int nowMonth, int minSelectYear, int minSelectMonth, int minSelectDay, int maxSelectYear, int maxSelectMonth, int maxSelectDay, HashSet<DateModel> defaultSelectedDateList, DateModel selectDateModel, int maxMultiSelectCount, Map<DateModel, Object> extraDataMap, List<DateModel> monthList, List<DateModel> weekList, PageController monthController, PageController weekController, double verticalSpacing, double itemSize, int showMode, EdgeInsetsGeometry padding, EdgeInsetsGeometry margin, int offset = 0})

Properties

boxDecoration BoxDecoration
read / write
calendarSelect OnCalendarSelect
read / write
dayWidgetBuilder DayWidgetBuilder
read / write
defaultSelectedDateList HashSet<DateModel>
read / write
extraDataMap Map<DateModel, Object>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
itemSize double
UI绘制方面的绘制
read / write
margin EdgeInsetsGeometry
read / write
maxMultiSelectCount int
read / write
maxSelectDate DateModel
read / write
maxSelectDay int
read / write
maxSelectMonth int
read / write
maxSelectYear int
read / write
maxYear int
read / write
maxYearMonth int
read / write
minSelectDate DateModel
read / write
minSelectDay int
read / write
minSelectMonth int
read / write
minSelectYear int
read / write
minYear int
read / write
minYearMonth int
read / write
monthChange OnMonthChange
监听变化
read / write
monthChangeListeners ObserverList<OnMonthChange>
read / write
monthController PageController
read / write
monthList List<DateModel>
下面的信息不是配置的,是根据配置信息进行计算出来的
read / write
multiSelectOutOfRange OnMultiSelectOutOfRange
read / write
multiSelectOutOfSize OnMultiSelectOutOfSize
read / write
nowDay int
read / write
nowMonth int
read / write
nowYear int
read / write
offset int
首日偏移量 first day offset first day = (first day of month or week) + offset
final
padding EdgeInsetsGeometry
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
selectDateModel DateModel
read / write
selectMode CalendarSelectedMode
read / write
showMode int
read / write
unCalendarSelect OnCalendarSelect
read / write
verticalSpacing double
read / write
weekBarItemWidgetBuilder WeekBarItemWidgetBuilder
read / write
weekChangeListeners ObserverList<OnWeekChange>
read / write
weekController PageController
read / write
weekList List<DateModel>
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited