getTextColor function

Color getTextColor(
  1. EasyThemeType? type,
  2. bool? disable,
  3. bool? mark
)

获取字体颜色

Implementation

Color getTextColor(EasyThemeType? type, bool? disable, bool? mark) {
  if (disable != null && disable) return iGray;
  if (mark != null && mark) return iBlack;
  return getColorByThemeType(type);
}