Data Table Colors
Colors used throughout the DataTable.
All colors have sensible defaults that work without any theming framework. Pass a custom instance to DataTable to match your application's palette.
Text color is not here — it lives on the styles in DataTableTextStyles — so a dark palette means overriding both.
Constructors
Properties
Fill and border of a checked selection checkbox.
The checkmark drawn inside a checked checkbox.
Border of an unchecked selection checkbox.
The line drawn down the edge a dragged column would land against.
Pagination arrows that cannot be used from the current page.
Wash over the header being dragged to a new position, so it is clear which column is on the move. Translucent, so the title still reads.
Background behind an open cell editor, so the field reads as a field rather than as text that happens to have a caret in it.
Background behind the content of an expanded row.
Background of a filter field itself, which sits on filterRow.
Outline drawn around the keyboard-focused cell, once cell-level navigation is on. Drawn on top of the row's own focus marker.
Marker drawn down the leading edge of the keyboard-focused row.
Background of the row under the pointer, also used for icon-button hover highlights in the footer.
Outline replacing focusedCellBorder while the value in an open editor has been rejected by the column's validateEdit.
Muted content color, available for callers building custom cells.
Background of every other row. Color.Transparent, the default, turns striping off.
Wash over cells inside a selected range. Translucent, so row striping and row selection still read through it. The cell the cursor is on is left unwashed, the way a spreadsheet leaves its active cell.
Background of a selected row. Usually translucent, so it reads on top of rowAlternate.