TDSelectOption class
Constructors
-
TDSelectOption({required String label, required int value, List<
TDSelectOption> children = const [], bool multiple = false, int maxLines = 1, double? columnWidth})
Properties
-
children
↔ List<
TDSelectOption> -
子选项
getter/setter pair
- columnWidth → double?
-
自定义宽度,允许用户指定每个选项的宽度
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
标签
final
- maxLines → int
-
最大显示行数
final
- multiple → bool
-
当前子项支持多选
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
值
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited