getBorderColor function
Implementation
Color getBorderColor({
EasyThemeType? type,
bool? ghost,
Color? color,
}) {
Color borderColor = color ?? iBorderColor;
if (type == null) return borderColor;
switch (type) {
case EasyThemeType.primary:
borderColor = iPrimary;
break;
case EasyThemeType.info:
borderColor = iInfo;
break;
case EasyThemeType.success:
borderColor = iSuccess;
break;
case EasyThemeType.warn:
borderColor = iWarn;
break;
case EasyThemeType.error:
borderColor = iError;
break;
}
return borderColor;
}