Main Toolbar Colors
Color scheme for the main toolbar in the PDF viewer.
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 of the toolbar; surfaceContainer by default, the role the contextual toolbar and the thumbnail bar share.
Color scheme for the document title overlay strip rendered below the toolbar row. Defaults to the toolbar's own backgroundColor and titleTextColor so the overlay blends with the toolbar unless themed separately.
Tint for a disabled action icon. Defaults to iconColor at the Material 3 disabled-content alpha (0.38).
Tint for a selected/activated action icon (e.g. an active annotation tool). Defaults to iconColor; the selected state is also conveyed by the Material 3 state-layer background at render time.
Color scheme for toolbar popup menus; surfaceContainer by default.
Color used for the toolbar title text; onBackground by default.
Functions
Returns a copy with the given colors replaced.
Two MainToolbarColors are equal when all their colors are.