ArcoMenuIcons class

图标定制(官方 Menu.icons)。全部可选,未提供的用默认图标。

与 Flutter 通用组件一致,定制项是 Widget 而不是图标数据,便于传入 ArcoIcon、Icon 或任意节点。

Constructors

ArcoMenuIcons({Widget? horizontalArrowDown, Widget? popArrowRight, Widget? collapseDefault, Widget? collapseActive})
创建图标定制。
const

Properties

collapseActive → Widget?
折叠按钮折叠态的图标(官方 icons.collapseActive,默认 menu-unfold)。
final
collapseDefault → Widget?
折叠按钮展开态的图标(官方 icons.collapseDefault,默认 menu-fold)。
final
hashCode → int
The hash code for this object.
no setterinherited
horizontalArrowDown → Widget?
水平 / 内联子菜单的尾缀箭头(官方 icons.horizontalArrowDown)。
final
popArrowRight → Widget?
pop 模式下子菜单右侧行尾箭头(官方 icons.popArrowRight)。
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