DatePickerModel class Null safety

日期(年月日)选择器

Inheritance
Implementers

Constructors

DatePickerModel({DateTime? currentTime, DateTime? maxTime, DateTime? minTime, List<String>? formats, List<bool>? labels, List<int>? weights, List<String>? dividers})

Properties

currentTime DateTime
当前选中时间
read / write, inherited
dividers List<String>
分割线
read-only, inherited
firstIndex int
第一列索引
read / write, inherited
firstList List<String>
第一列数据源
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
maxTime DateTime
read / write
minTime DateTime
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secondIndex int
第二列索引
read / write, inherited
secondList List<String>
第二列数据源
read / write, inherited
thirdIndex int
第三列索引
read / write, inherited
thirdList List<String>
第三列数据源
read / write, inherited
weights List<int>
布局权重
read-only, inherited

Methods

finalTime() DateTime
最终时间
inherited
firstStringAtIndex(int index) String?
第一列选中字符串
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
secondStringAtIndex(int index) String?
第二列选中字符串
override
thirdStringAtIndex(int index) String?
第三列选中字符串
override
toString() String
A string representation of this object. [...]
inherited
updateFirstIndex(int index) → void
更新第一列index
override
updateSecondIndex(int index) → void
更新第二列index
override
updateThirdIndex(int index) → void
更新第三列index
override

Operators

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