getTextBackgroundColor function
获取字体背景颜色
Implementation
Color getTextBackgroundColor(EasyThemeType? type, bool? mark) {
if (mark == null) return Colors.transparent;
return type == null ? getColorByThemeType(EasyThemeType.warn) : getColorByThemeType(type);
}