AntdSliderBarItem class
滑动选择器(SliderBar)的单个选项定义 @l AntdSliderBar
Constructors
- AntdSliderBarItem.new({required String value, Widget? content, Widget? title, bool disabled = false})
-
const
Properties
- content → Widget?
-
自定义内容组件(优先级高于title)
final
- disabled → bool
-
是否禁用该选项
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → Widget?
-
默认标题内容(当content为空时使用)
final
- value → String
-
选项的唯一标识值
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