MiuixDropdownEntry class

一组下拉项。对应 Kotlin DropdownEntry

一个 MiuixDropdownEntry 表示下拉菜单中的一个视觉分组。分组标题为未来预留: 原 MIUI 下拉样式当前无对应的分组标题呈现。

enabled 为 false 时该组所有项被禁用;为 true 时仍尊重各项自身的 MiuixDropdownItem.enabled

Annotations

Constructors

MiuixDropdownEntry({required List<MiuixDropdownItem> items, bool enabled = true})
const

Properties

enabled bool
本组是否启用。
final
hashCode int
The hash code for this object.
no setterinherited
items List<MiuixDropdownItem>
本组内展示的项。
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