Thumbnail Grid Colors
class ThumbnailGridColors(val backgroundColor: Color = Color.Unspecified, val selectionCheckBackgroundColor: Color = Color.Unspecified, val itemRippleColor: Color = Color.Unspecified, val currentPageHighlightColor: Color = Color.Unspecified)
Color scheme for the thumbnail grid, the page overview that PdfThumbnailGrid shows.
A color left Color.Unspecified takes its Material 3 role from the scheme's UiColorScheme.material when the scheme is resolved, so only the colors that differ from the Material theme need to be set.
Properties
Link copied to clipboard
Background behind the pages; surfaceDim by default. PdfThumbnailGrid.setBackgroundColor() replaces it.
Link copied to clipboard
Highlight behind the page that is currently shown in the document; primary by default.
Link copied to clipboard
Ripple when a page is pressed; inversePrimary by default.
Link copied to clipboard
Fill of the check circle on pages selected for document editing; primary by default.
Functions
Link copied to clipboard
fun copy(backgroundColor: Color = this.backgroundColor, selectionCheckBackgroundColor: Color = this.selectionCheckBackgroundColor, itemRippleColor: Color = this.itemRippleColor, currentPageHighlightColor: Color = this.currentPageHighlightColor): ThumbnailGridColors
Returns a copy with the given colors replaced.
Link copied to clipboard
Two ThumbnailGridColors are equal when all their colors are.