AntdCascaderOption class

选项 @l AntdCascaderView

Constructors

AntdCascaderOption({required dynamic value, dynamic parentValue, Widget? title, Widget? child, Widget? checkIcon, Widget? icon, bool disabled = false})
const

Properties

checkIcon → Widget?
选中状态下显示的图标
final
child → Widget?
选项内容组件
final
disabled → bool
是否禁用该选项
final
hashCode → int
The hash code for this object.
no setterinherited
icon → Widget?
未选中状态下显示的图标
final
parentValue → dynamic
父级选项的值,用于构建层级关系
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → Widget?
选项标题组件
final
value → dynamic
选项的唯一标识值
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