ToastColorsBuilder

Builder для ToastColors

Functions

Link copied to clipboard
open fun backgroundColor(backgroundColor: Brush): ToastColorsBuilder
abstract fun backgroundColor(backgroundColor: StatefulValue<Brush>): ToastColorsBuilder

Устанавливает фон backgroundColor компонента.

Link copied to clipboard
abstract fun build(): ToastColors

Создает экземпляр ToastColors

Link copied to clipboard
open fun contentEndColor(contentEndColor: Color): ToastColorsBuilder
abstract fun contentEndColor(contentEndColor: InteractiveColor): ToastColorsBuilder

Устанавливает цвет контента в конце contentEndColor.

Link copied to clipboard
open fun contentStartColor(contentStartColor: Color): ToastColorsBuilder
abstract fun contentStartColor(contentStartColor: InteractiveColor): ToastColorsBuilder

Устанавливает цвет контента в начале contentStartColor.

Link copied to clipboard
open fun textColor(textColor: Color): ToastColorsBuilder

Устанавливает цвет текста textColor.