MonthPageController<T> class

翻页日历控制器

Create by JsonYe597232387@qq.com on 2019/12

Constructors

MonthPageController()

Properties

hashCode int
The hash code for this object.
no setterinherited
monthList List<DateMonth>
no setter
option MonthOption<T>
no setter
position int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addFirstMonth([DateMonth? month]) → void
首部增加月份,默认添加第一个月的上一月
addMonth([DateMonth? month]) → void
尾部增加月份,默认添加最后一月的下一月
changePosition(int position) → void
页面位置更改
dispose() → void
关闭
getMonthController(DateMonth month) MonthController<T>
获取月视图控制器
goto(DateMonth month) → void
跳转到指定月份
init(MonthOption<T> option, {PageController? pageController}) → void
初始化
last() → void
上一月
monthListStream() Stream<List<DateMonth>>
next() → void
下一月
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
positionStream() Stream<int>
reLoad() → void
更新组件
setContinuousDay(DateDay? firstDay, DateDay? secondDay) → void
setCurrentDay(DateDay currentDay) → void
setEnableContinuous(bool enable) → void
setEnableMultiple(bool enable) → void
setFirstWeek(int week) → void
setMarks(Map<DateDay, T> marks) → void
setMultipleDays(List<DateDay> days) → void
toString() String
A string representation of this object.
inherited

Operators

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