Companion

@ObjCName(name = "EmptyModifier", exact = true)
object Companion : Modifier

The companion object Modifier is the empty, default, or starter Modifier that contains no elements. Use it to create a new Modifier using modifier extension factory functions or as the default value for Modifier parameters.

Functions

Link copied to clipboard
open override fun forEach(block: (Modifier.Element) -> Unit)

Iterates over all Elements in this Modifier.

Link copied to clipboard
open override fun forEachScoped(block: (Modifier.ScopedElement) -> Unit)

Iterates over all ScopedElements in this Modifier.

Link copied to clipboard
open override fun forEachUnscoped(block: (Modifier.UnscopedElement) -> Unit)

Iterates over all UnscopedElements in this Modifier.

Link copied to clipboard
open infix override fun then(other: Modifier): Modifier

Concatenates this modifier with another.

Link copied to clipboard
open override fun toString(): String