fontColor property
Color
get
fontColor
Implementation
Color get fontColor {
switch (this) {
case ContainedButtonColor.colorDefault:
return ContainedButtonStyles.defaultColor;
case ContainedButtonColor.brand:
return ContainedButtonStyles.brandColor;
case ContainedButtonColor.danger:
return ContainedButtonStyles.dangerColor;
case ContainedButtonColor.warning:
return ContainedButtonStyles.warningColor;
default:
return ContainedButtonStyles.defaultColor;
}
}