PrimaryButtonColors

data class PrimaryButtonColors(@ColorInt val background: Int?, @ColorInt val onBackground: Int, @ColorInt val border: Int) : Parcelable

Constructors

Link copied to clipboard
fun PrimaryButtonColors(background: Color?, onBackground: Color, border: Color)
Link copied to clipboard
fun PrimaryButtonColors(@ColorInt background: Int?, @ColorInt onBackground: Int, @ColorInt border: Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

The background color of the primary button. Note: If 'null', {@link Colors#primary} is used.

Link copied to clipboard
val border: Int

The border color of the primary button.

Link copied to clipboard

The color of the text and icon in the primary button.