Contextual Toolbar Colors
Color scheme for the contextual toolbars, such as the annotation creation toolbar, and their submenus.
A color left Color.Unspecified takes its Material 3 role from the scheme's UiColorScheme.material when the scheme is resolved.
Constructors
Properties
Background of the bar; surfaceContainer by default.
Border of the bar while it is docked to a side of the screen; outlineVariant by default.
Tint of disabled item icons. Defaults to iconColor at half opacity, the View toolbars' disabled item alpha, wherever the scheme comes from.
Tint of the selected item's icon, and of the translucent circle behind it; primary by default.
Background of the sheet a grouped item opens; surfaceContainerHigh by default.
Border of the submenu sheet; outlineVariant by default.
Functions
Returns a copy with the given colors replaced.
Two ContextualToolbarColors are equal when all their colors are.