PickerDataAdapter<T> class

数据适配器

Inheritance

Constructors

PickerDataAdapter({List? pickerData, List<PickerItem<T>>? data, bool isArray = false})

Properties

data List<PickerItem<T>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isArray bool
final
isLinkage bool
no setterinherited
length int
Content length of current column
no setterinherited
maxLevel int
no setterinherited
picker Picker?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
no setterinherited

Methods

buildItem(BuildContext context, int index) Widget
override
doSelect(int column, int index) → void
inherited
doShow() → void
inherited
getColumnFlex(int column) int
inherited
getIsLinkage() bool
override
getLength() int
override
getMaxLevel() int
override
getSelectedValues() List<T>
override
getText() String
inherited
initSelects() → void
override
makeText(Widget? child, String? text, bool isSel) Widget
inherited
makeTextEx(Widget? child, String text, Widget? postfix, Widget? suffix, bool isSel) Widget
inherited
needUpdatePrev(int curIndex) bool
是否需要更新前面的列 Need to update previous columns
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyDataChanged() → void
通知适配器数据改变
inherited
setColumn(int index) → void
override
toString() String
A string representation of this object.
inherited

Operators

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