DatePickerModel class

Constructors

DatePickerModel({required bool useYear, required bool useMonth, required bool useDay, required bool useHour, required bool useMinute, required bool useWeekDay, required bool useSecond, required List<int> dateStart, required List<int> dateEnd, List<int>? dateInitial})

Properties

controllers ↔ dynamic
getter/setter pair
data List<List<int>>
getter/setter pair
dateEnd List<int>
getter/setter pair
dateInitial List<int>?
getter/setter pair
dateStart List<int>
getter/setter pair
dayFixedExtentScrollController FixedExtentScrollController
getter/setter pair
dayIndex int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hourFixedExtentScrollController FixedExtentScrollController
getter/setter pair
initialTime DateTime
getter/setter pair
mapping List<String>
final
minuteFixedExtentScrollController FixedExtentScrollController
getter/setter pair
monthFixedExtentScrollController FixedExtentScrollController
getter/setter pair
monthIndex int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondFixedExtentScrollController FixedExtentScrollController
getter/setter pair
useDay bool
getter/setter pair
useHour bool
getter/setter pair
useMinute bool
getter/setter pair
useMonth bool
getter/setter pair
useSecond bool
getter/setter pair
useWeekDay bool
getter/setter pair
useYear bool
getter/setter pair
weekDayFixedExtentScrollController FixedExtentScrollController
getter/setter pair
weekDayIndex int
getter/setter pair
weekMap List<String>
final
yearFixedExtentScrollController FixedExtentScrollController
getter/setter pair
yearIndex int
这四项随滑动而更新,注意初始化
getter/setter pair

Methods

addListener() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshDayDataAndController() → void
refreshMonthDataAndController() → void
refreshWeekDayDataAndController() → void
setControllers() → void
setInitialDayData() → void
setInitialMonthData() → void
setInitialTime() → void
setInitialWeekDayData() → void
toString() String
A string representation of this object.
inherited

Operators

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