DocumentInfoColorScheme

class DocumentInfoColorScheme(val backgroundColor: Color = Color.Unspecified, val groupTitleTextColor: Color = Color.Unspecified, val itemTitleTextColor: Color = Color.Unspecified, val itemValueTextColor: Color = Color.Unspecified, val itemValueHintTextColor: Color = Color.Unspecified, val groupIconColor: Color = Color.Unspecified, val fabBackgroundColor: Color = Color.Unspecified, val fabIconColor: Color = Color.Unspecified)

Color scheme for the document info view.

A color left Color.Unspecified takes its Material 3 role from the scheme's UiColorScheme.material when the scheme is resolved.

Constructors

Link copied to clipboard
constructor(backgroundColor: Color = Color.Unspecified, groupTitleTextColor: Color = Color.Unspecified, itemTitleTextColor: Color = Color.Unspecified, itemValueTextColor: Color = Color.Unspecified, itemValueHintTextColor: Color = Color.Unspecified, groupIconColor: Color = Color.Unspecified, fabBackgroundColor: Color = Color.Unspecified, fabIconColor: Color = Color.Unspecified)

Properties

Link copied to clipboard

Background color of the document info view; background by default.

Link copied to clipboard

Background color for the floating action button; primaryContainer by default.

Link copied to clipboard

Icon color for the floating action button; the content color of fabBackgroundColor by default.

Link copied to clipboard

Color used for group icons; onSurfaceVariant by default.

Link copied to clipboard

Text color for group/section titles; primary by default.

Link copied to clipboard

Text color for item titles; onBackground by default.

Link copied to clipboard

Text color for item value hints/placeholders; onSurfaceVariant by default.

Link copied to clipboard

Text color for item values; onSurfaceVariant by default.

Functions

Link copied to clipboard
fun copy(backgroundColor: Color = this.backgroundColor, groupTitleTextColor: Color = this.groupTitleTextColor, itemTitleTextColor: Color = this.itemTitleTextColor, itemValueTextColor: Color = this.itemValueTextColor, itemValueHintTextColor: Color = this.itemValueHintTextColor, groupIconColor: Color = this.groupIconColor, fabBackgroundColor: Color = this.fabBackgroundColor, fabIconColor: Color = this.fabIconColor): DocumentInfoColorScheme

Returns a copy with the given colors replaced.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Two DocumentInfoColorScheme are equal when all their colors are.

Link copied to clipboard
open override fun hashCode(): Int

A hash of all the colors, consistent with equals.

Link copied to clipboard
open override fun toString(): String

Every color, by property name.