VerticalDivider

表示一个垂直分割线,即一条用于在列表和布局中对内容进行分组的细垂直线。

该接口为 M8Test 框架内的 Jetpack Compose androidx.compose.material3.VerticalDivider 可组合项提供了声明式的 API 封装。它继承了 Divider 接口的通用属性和行为。

Author

M8Test, [email protected], https://m8test.com

Parameters

T

此组件使用的 Modifier 的具体类型,用于支持链式调用修饰符的流式 API。

See also

androidx.compose.material3.VerticalDivider

Functions

Link copied to clipboard
abstract fun DisposableEffect(disposableEffectBuilder: DisposableEffect.() -> Unit)
Link copied to clipboard
Link copied to clipboard
abstract fun <V> getCompositionLocalValue(compositionLocal: ProvidableCompositionLocal<V>): V?

获取 compositionLocal 的值

Link copied to clipboard
abstract fun getContext(): ScriptContext

获取脚本上下文对象 ScriptContext.

Link copied to clipboard
abstract fun LaunchedEffect(launchedEffectBuilder: LaunchedEffect.() -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun setColor(colorBuilder: Color.() -> Unit)

设置此分隔线的颜色。

Link copied to clipboard
abstract fun setModifier(modifierBuilder: T.() -> Unit)
Link copied to clipboard
abstract fun setThickness(thickness: (Dimensions) -> Dp)

设置此分隔线的厚度。

Link copied to clipboard
abstract fun setVisible(visible: Boolean)

设置显示/隐藏当前 Composable

Link copied to clipboard
abstract fun SideEffect(sideEffectBuilder: SideEffect.() -> Unit)
Link copied to clipboard

设置所有需要用到的聚合状态,例如 DrawerState, BottomSheetState 等

Link copied to clipboard
abstract fun trackSingleState(state: SingleState)

添加当前 Composable 需要监听的状态,如果状态改变的话 Composable 会重组