onConsumedWindowInsetsChanged

Compose Modifier

Common
fun Modifier.onConsumedWindowInsetsChanged(block: (consumedWindowInsets: WindowInsets) -> Unit) =
    composed(
        debugInspectorInfo {
            name = "onConsumedWindowInsetsChanged"
            properties["block"] = block
        }
    ) {
        remember(block) { ConsumedInsetsModifier(block) }
    }

Calls block with the WindowInsets that have been consumed, either by consumeWindowInsets or one of the padding Modifiers, such as imePadding.