color property

Color? get color

Implementation

Color? get color {
  var I = textColorState?.fromController(this) ?? textColor;
  if (I == null) {
    return enabled && isClickMode
        ? activated
            ? theme.primaryColor
            : isBorder
                ? theme.primaryColor
                : Colors.white
        : Colors.grey.withOpacity(0.75);
  }
  return I;
}