Settings Color Scheme
Color scheme for settings UI components.
A color left Color.Unspecified takes its Material 3 role from the scheme's UiColorScheme.material when the scheme is resolved.
Constructors
Properties
Background color for settings views; background by default.
Color of the icons of options that can't be chosen, from the same source; onSurface at the Material 3 disabled-content alpha by default.
Color used for divider lines between settings items; outlineVariant by default.
Color used for settings item labels; onBackground by default.
Color used for selected/active items; primary by default.
Color used for settings section titles; onBackground by default.
Color used for unselected/inactive items; secondary by default.
Color of the icons of unselected options, such as the page transition and scroll direction choices. The XML theme's scheme takes it from the pspdf__settingsModePickerItemStyle tint; onSurfaceVariant by default.
Text color for unselected items; secondary by default.
Functions
Returns a copy with the given colors replaced.
Two SettingsColorScheme are equal when all their colors are.
Converts this color scheme to Material 3 Switch colors: a selectedColor track with a background thumb when on, and an unselectedColor outline and thumb on the background when off.