renderingColor method

Color renderingColor(
  1. Color? themeColor
)

Implementation

Color renderingColor(Color? themeColor) {
  if (themeColor != null) {
    return themeColor;
  } else {
    switch (this) {
      case DEFAULT_THEMES.info:
        return BlurryColors.infoColor;
      case DEFAULT_THEMES.success:
        return BlurryColors.successColor;
      case DEFAULT_THEMES.error:
        return BlurryColors.errorColor;
      default:
        return BlurryColors.warningColor;
    }
  }
}