getDefTextDecoColor method

Color? getDefTextDecoColor()

get default decoration color.

Implementation

Color? getDefTextDecoColor() {
  if (style.styleMap.containsKey(type)) {
    if (style.styleMap[type]!.textDecoColor == null) {
      return null;
    } else {
      return UtilParams.convertColor(
          style.styleMap[type]!.textDecoColor!, lineStart, lineEnd, info);
    }
  }
  return null;
}