cellTextColor

fun cellTextColor(hasError: Boolean, hasWarning: Boolean, isEditable: Boolean): Color

Returns the appropriate cell text color based on error, warning, and editability states.

Return

The color to be used for the cell text.

Parameters

hasError

Indicates if the cell has an error.

hasWarning

Indicates if the cell has a warning.

isEditable

Indicates if the cell is editable.