InspectableModifier

Added in 1.1.0
Deprecated in 1.8.0-alpha06

Annotates a range of modifiers in a chain with inspector metadata.

Summary

Nested types

Public constructors

InspectableModifier(inspectorInfo: InspectorInfo.() -> Unit)
Cmn

Public properties

InspectableModifier.End
Cmn

Inherited functions

From androidx.compose.ui.Modifier
open infix Modifier
then(other: Modifier)

Concatenates this modifier with another.

Cmn
From androidx.compose.ui.Modifier.Element
open Boolean
all(predicate: (Modifier.Element) -> Boolean)

Returns true if predicate returns true for all Elements in this Modifier or if this Modifier contains no Elements.

Cmn
open Boolean
any(predicate: (Modifier.Element) -> Boolean)

Returns true if predicate returns true for any Element in this Modifier.

Cmn
open R
<R : Any?> foldIn(initial: R, operation: (Modifier.Element, R) -> R)

Accumulates a value starting with initial and applying operation to the current value and each element from outside in.

Cmn
open R
<R : Any?> foldOut(initial: R, operation: (Modifier.Element, R) -> R)

Accumulates a value starting with initial and applying operation to the current value and each element from inside out.

Cmn

Inherited properties

From androidx.compose.ui.platform.InspectorValueInfo
open Sequence<ValueElement>

The elements of a compose value.

Cmn
open String?

Use this name as the reference name shown in tools of this value if there is no explicit reference name given to the value.

Cmn
open Any?

Use this value as a readable representation of the value.

Cmn

Public constructors

InspectableModifier

InspectableModifier(inspectorInfo: InspectorInfo.() -> Unit)

Public properties

end

val endInspectableModifier.End