text property

Color get text

Returns the appropriate text color for the current brightness.

Implementation

Color get text =>
    this == Brightness.light ? ChipColors.lightText : ChipColors.darkText;