DateTimePickerModel class Null safety

日期时间选择器模型 年月日 时:分:秒

Inheritance

Constructors

DateTimePickerModel({DateTime? currentTime, DateTime? maxTime, DateTime? minTime, bool showYears = true, List<String>? formats, List<bool>? labels, List<int>? weights, List<String>? dividers})
currentTime选择时间 maxTime 最大时间 minTime 最小时间 showYears 是否显示年 formats 年月日格式化格式见formatDate介绍 labels 是否显示标签 weights 选择器权重 dividers 选择器间隔符

Properties

currentTime DateTime
当前选中时间
read / write, inherited
dividers List<String>
分割线
read-only, inherited
fifthIndex int
read / write
firstIndex int
第一列索引
read / write, inherited
firstList List<String>
第一列数据源
read / write, inherited
fourthIndex int
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
maxTime DateTime
read / write, override
minTime DateTime
read / write, override
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
showYears bool
final
sixtyIndex int
read / write
thirdIndex int
第三列索引
read / write, inherited
thirdList List<String>
第三列数据源
read / write, inherited
weights List<int>
布局权重
read-only, inherited

Methods

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

Operators

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