LayoutModifier.Companion


object LayoutModifier.Companion : LayoutModifier


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

Summary

Public functions

open R
<R : Any?> foldRight(initial: R, operation: (LayoutModifier.Element, R) -> R)

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

open infix LayoutModifier

Concatenates this modifier with another.

open String

Public functions

foldRight

open fun <R : Any?> foldRight(initial: R, operation: (LayoutModifier.Element, R) -> R): R

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

foldRight may be used to accumulate a value starting from the head of the modifier chain to the final modifier element.

then

open infix fun then(other: LayoutModifier): LayoutModifier

Concatenates this modifier with another.

Returns a LayoutModifier representing this modifier followed by other in sequence.

toString

open fun toString(): String