ModifiersBuilders.SpanModifiers.Builder


class ModifiersBuilders.SpanModifiers.Builder


Builder for SpanModifiers

Summary

Public constructors

Creates an instance of Builder.

Public functions

ModifiersBuilders.SpanModifiers

Builds an instance from accumulated values.

ModifiersBuilders.SpanModifiers.Builder
@RequiresSchemaVersion(major = 1, minor = 0)
setClickable(clickable: ModifiersBuilders.Clickable)

Sets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped.

Public constructors

Builder

Added in 1.0.0
Builder()

Creates an instance of Builder.

Public functions

build

Added in 1.0.0
fun build(): ModifiersBuilders.SpanModifiers

Builds an instance from accumulated values.

setClickable

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
fun setClickable(clickable: ModifiersBuilders.Clickable): ModifiersBuilders.SpanModifiers.Builder

Sets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped.