sdk
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
sdk
sdk
/
com.m8test.script.core.api.ui.compose.widget
/
NavigationBar
/
setContent
set
Content
abstract
fun
setContent
(
contentBuilder
:
RowScopeSlot
.
(
)
->
Unit
)
设置此导航栏的内容,通常是 3-5 个
NavigationBarItem
。
Parameters
content
Builder
一个在
RowScope
中定义内容的 lambda 表达式。