BrnDefaultMultiDataPickerDelegate class
实现了部分默认逻辑的 Delegate
- Implemented types
Constructors
-
BrnDefaultMultiDataPickerDelegate({required List<
BrnMultiDataPickerEntity> data, int firstSelectedIndex = 0, int secondSelectedIndex = 0, int thirdSelectedIndex = 0})
Properties
-
data
↔ List<
BrnMultiDataPickerEntity> -
数据源
getter/setter pair
- firstSelectedIndex ↔ int
-
第一列选中角标,默认0
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondSelectedIndex ↔ int
-
第二列选中角标,默认0
getter/setter pair
- thirdSelectedIndex ↔ int
-
第三列选中角标,默认0
getter/setter pair
Methods
-
initSelectedRowForComponent(
int component) → int -
定义初始选中的行数
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
numberOfComponent(
) → int -
显示几列内容
override
-
numberOfRowsInComponent(
int component) → int -
定义每一列所显示的行数, component 代表列的索引,
override
-
rowHeightForComponent(
int component) → double -
定义每列内容的高度
override
-
selectRowInComponent(
int component, int row) → void -
定义选择更改后的操作
override
-
titleForRowInComponent(
int component, int index) → String -
定义某列某行所显示的内容,component 代表列的索引,index 代表 第component列中的第 index 个元素
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited