NumberPickerAdapter class

Inheritance

Constructors

NumberPickerAdapter({required List<NumberPickerColumn> data})

Properties

cur NumberPickerColumn?
getter/setter pair
data List<NumberPickerColumn>
final
hashCode int
The hash code for this object.
no setterinherited
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
override
getIsLinkage() bool
override
getLength() int
override
getMaxLevel() int
override
getSelectedValues() List<int>
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