Appearance

data class Appearance(val primaryColor: String? = null, val backgroundColor: String? = null, val textColor: String? = null, val cornerRadius: Float? = null)(source)

Restrained visual overrides applied to the native sheet.

Omit values to inherit Material and application defaults. Native layout, controls, accessibility behavior, and state semantics remain owned by the SDK.

Constructors

Link copied to clipboard
constructor(primaryColor: String? = null, backgroundColor: String? = null, textColor: String? = null, cornerRadius: Float? = null)

Properties

Link copied to clipboard

Sheet surface color in hexadecimal notation.

Link copied to clipboard

Preferred top corner radius from 0 through 40 dp.

Link copied to clipboard

Primary action color as #RRGGBB or #RRGGBBAA.

Link copied to clipboard

Primary foreground color in hexadecimal notation.