XBCalendarHmsVM class

Inheritance

Constructors

XBCalendarHmsVM({required BuildContext context})

Properties

context BuildContext
finalinherited
controller ScrollController
getter/setter pairinherited
createDateTime DateTime
getter/setter pairinherited
createMonth int
no setterinherited
createYear int
no setterinherited
disposed bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
hms List<List<String>>
no setter
initOffset double
no setterinherited
isSingle bool
getter/setter pairinherited
markDates List<DateTime>?
有标记的日期
getter/setter pairinherited
maxDateTime DateTime
getter/setter pairinherited
minDateTime DateTime
getter/setter pairinherited
monthCount int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDate String
no setterinherited
scrollMonth String
no setterinherited
scrollMonthInt int
getter/setter pairinherited
scrollYear String
no setterinherited
scrollYearInt int
getter/setter pairinherited
selectedDates List<DateTime>
getter/setter pairinherited
selectedHMS List<int>
getter/setter pair
state ↔ XBWidgetState<XBVM>
getter/setter pairinherited
weekDays List<String>
no setterinherited
weekDaysWidgets List<Widget>
getter/setter pairinherited
widget XBCalendar
no setterinherited
widgetSize Size
getter/setter pairinherited
years Map<int, XBCalendarYear>
getter/setter pairinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
buildMonthIndexCache() → void
inherited
calculateYearOffsets() → void
inherited
didChangeDependencies() → void
inherited
didCreated() → void
已经完成创建
inherited
didUpdateWidget(covariant XBCalendar oldWidget) → void
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
goCurrentDay() → dynamic
inherited
listen<E>(dynamic onData(E)) → dynamic
inherited
monthForIndex(int index) XBCalendarMonth
inherited
nextMonth() → dynamic
inherited
nextYear() → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify() → dynamic
通知刷新
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
offsetForDateTime(DateTime dateTime) double
inherited
offsetListener() → dynamic
inherited
onDone() → dynamic
override
onSelectDate(DateTime dateTime) → dynamic
inherited
onSelected(XBTitlePickerIndex index) → dynamic
previousMonth() → dynamic
inherited
previousYear() → dynamic
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
toString() String
A string representation of this object.
inherited
updateYears() → dynamic
inherited
widgetDidBuilt() → void
页面已经build完成
inherited
widgetSizeDidChanged() → void
inherited
yearModelForYear(int year) XBCalendarYear?
inherited

Operators

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