AntdDropdownItem class
下拉框内容 @l AntdDropdown
Constructors
-
AntdDropdownItem.new({required Widget child(bool open), required AntdMaskBuilder<
AntdDropdownState> item}) -
const
Properties
- child → Widget Function(bool open)
-
下拉菜单的触发元素
open
表示当前下拉菜单的展开状态 返回一个Widget作为触发下拉的按钮或元素final - hashCode → int
-
The hash code for this object.
no setterinherited
-
item
→ AntdMaskBuilder<
AntdDropdownState> -
下拉菜单的内容元素
close
用于关闭下拉层的回调函数state
当前遮罩层的状态信息 返回一个Widget作为下拉菜单的内容final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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