getWidth

abstract fun getWidth(): Dp

获取此尺寸的宽度,即水平方向的大小。

Return

尺寸的宽度,单位为 Dp

See also

androidx.compose.ui.unit.DpSize.width