getTextBackgroundColor function

Color getTextBackgroundColor(
  1. EasyThemeType? type,
  2. bool? mark
)

获取字体背景颜色

Implementation

Color getTextBackgroundColor(EasyThemeType? type, bool? mark) {
  if (mark == null) return Colors.transparent;
  return type == null ? getColorByThemeType(EasyThemeType.warn) : getColorByThemeType(type);
}