ActionMenuColors

class ActionMenuColors(val backgroundColor: Color = Color.Unspecified, val labelColor: Color = Color.Unspecified, val fixedActionsPanelBackgroundColor: Color = Color.Unspecified, val fixedActionsIconBackgroundColor: Color = Color.Unspecified, val fixedActionsIconColor: Color = Color.Unspecified)

Color scheme for the action menu, the sheet the share button opens.

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, labelColor: Color = Color.Unspecified, fixedActionsPanelBackgroundColor: Color = Color.Unspecified, fixedActionsIconBackgroundColor: Color = Color.Unspecified, fixedActionsIconColor: Color = Color.Unspecified)

Properties

Link copied to clipboard

Background of the sheet; background by default.

Link copied to clipboard

Background of each fixed action's icon; primary by default.

Link copied to clipboard

Tint of each fixed action's icon on fixedActionsIconBackgroundColor; onPrimary by default. The XML theme's scheme takes it from pspdf__fixedActionsIconColor.

Link copied to clipboard

Background of the panel holding the fixed actions at the top of the sheet; background by default.

Link copied to clipboard

Title and action labels; onBackground by default.

Functions

Link copied to clipboard
fun copy(backgroundColor: Color = this.backgroundColor, labelColor: Color = this.labelColor, fixedActionsPanelBackgroundColor: Color = this.fixedActionsPanelBackgroundColor, fixedActionsIconBackgroundColor: Color = this.fixedActionsIconBackgroundColor, fixedActionsIconColor: Color = this.fixedActionsIconColor): ActionMenuColors

Returns a copy with the given colors replaced.

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

Two ActionMenuColors 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.