width

abstract fun width(width: (Dimensions) -> Dp): Modifier

声明布局的内容具有首选的宽度。

Return

返回一个Modifier,用于设置宽度。

Parameters

width

宽度