Compose Modifier

windowInsetsStartWidth

Sets the width to that of [insets] at the [start][androidx.

windowInsetsStartWidth

Common
fun Modifier.windowInsetsStartWidth(insets: WindowInsets) =
    this then
        DerivedWidthModifierElement(
            insets,
            debugInspectorInfo {
                name = "insetsStartWidth"
                properties["insets"] = insets
            },
            startCalc,
        )

Sets the width to that of insets at the start of the screen, using either left or right, depending on the LayoutDirection.

When used, the WindowInsets will respect the consumed insets from windowInsetsPadding and consumeWindowInsets, but won't consume any insets.