setLeadingIcon

abstract fun setLeadingIcon(iconBuilder: UnitScopeSlot.() -> Unit)

设置显示在项目文本开头的可选前置图标。

Parameters

iconBuilder

用于构建图标的 lambda 表达式。